On Tue, 10 Nov 2009, AbeB wrote:

Hi,

> it can return a negative result as a valid handle under wince.
> it will return -1 for an error 
> is that ok? 
> i used to check the result of fopen if it's < 0 and take it as an error.

You should not use such assumptions. In this case I can pacify it and map
windows handler to 64bit integer what eliminate the problem for 32 bit
systems (BTW it may happen in any 32 bit windows version) but the same
problem may also happen in 64 bit windows version and here such workaround
will not work so I suggest you to clean your code or sooner or later you
will exploit this problem again.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to