>>You are right, of course, about being an obsolete function that may disappear in future versions. I asked only because Nigel said that "OpenFile() returns the wrong type of file handle." and I couldn't understand why is this handle of wrong type.
>>
>>Vlad
>
>That's why I mentioned that he was working under NT 4. Some functions that are supposed to exist don't or don't work properly. Nigel, I'm curiious now too.
I said that OpenFile() returned the wrong type of file handle because GetFileTime() returned an error when I used OpenFile() but worked OK if I used CreateFile() - I don't know how it is the wrong type but I also assume that fopen() will use yet another type of file handle. In C, the three are declared differently. I'm not sure about NT4 though - I do use it at work but I am working on this project at home on W95.