- Andreas Mykonios
- PowerBuilder
- Tuesday, 26 September 2017 07:24 AM UTC
Hi.
I've noticed that fileopen works a little bit different in native pb and .net assemblies (this has been tested in pb 12.5 and pb2017). Fileopen returns the file number assigned to filename we want to open.
If I use now fileopen in conjunction with fileclose within a loop, in pb native every fileopen will return for example value 1 (as before reopening the file I close it) if it's the first file to be opened.
But in .net assemblies the file number always increase! This can be a problem if someone wants to open (and close) more than 32768 files.
Has anyone an explanation for that?
May I consider this as a bug?
Andreas.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.