Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ileTime() - File handle problem.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00094412
Message ID:
00094422
Vues:
23
>I am trying to use the GetFileTime() and am having trouble with the file handle type. Which API call should I use to open the file??? TIA,

I haven't tested this, but I'd use CreateFile() set to to GENERIC_READ as desired access and FILE_SHARE_READ as the shared mode. I've used this function to set a file time, but not to get it. There's another way besides this to get this information. FindFirstFile() fills the necessary structures, and tells you whether or not the files exists, and gives both the extended and DOS files names. Look at the Windows Filenames in the Download section under Win32 and other APIs.

hth,
George

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

Click here to load this message in the networking platform