Weird handling of openfiles (was Issue with opening PDF file from FilePro)

Kenneth Brody kenbrody at spamcop.net
Thu May 28 12:47:48 PDT 2009


Boaz Bezborodko wrote:
[...]
> I decided to peek into what the different machines showed as the file 
> status that was returned by OPEN() and found that the machines that had 
> the problems always returned a 'valid' file handle ('1' ) even though it 
> was not possible for it to be available from the very beginning.  The 
> machines that worked gave a negative number until the file was ready.

If OPEN() returned 1, then the open succeeded.  Why do you believe that it 
"was not possible" to succeed?

> All are connected to the same server and have almost identical 
> environment setups.  I'm at a loss in explaining why some machines are 
> properly reporting the file status while others aren't.  It must be 
> related to Windows, but I have no idea where to look.

On those where it fails, what error is returned?

> Does anyone have any suggestions?

-- 
Kenneth Brody


More information about the Filepro-list mailing list