Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFileTime() - File handle problem.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00094412
Message ID:
00094929
Vues:
34
>>
>>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 curious 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.

Hmm. Well, we may be getting down to an area of what build is being used. Mine might be different than yours. Whether or not that's the case, I think that you can't go wrong with CreateFile(). One of the reasons that I passed on OpenFile() was the reference to it being for backward compatibility. So that's why I recommended CreateFile() to you.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform