Can anyone verify that HFILE_ERROR (the failure return from OPENFILE) = -1?
Or better yet, provide a source for the library file that defines it.
Or even better, advise that windows 95 and later are not 16-bit versions of Windows.
(I want my program to be compatible with windows 98 and assume that would include W95, but I don't care about previous versions).
Thanks,
raleeper
ral@raleeper.com
Yes, it's equal to -1.
However, you should be using CreateFile instead - it does work fine on Win98.
Win95/98 are 32-bit, but they have a lot of underlying 16-bit support.
Thamks Tedd.