Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetVolumeInformation returns 0 with NTFS
Message
 
À
19/10/1999 08:10:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00272024
Message ID:
00279679
Vues:
20
>
>You have to have declared GetLastError() prior to the event that causes the error, otherwise, the DECLARE...DLL will clear the error pending. IOW, declare GetLastError() before making the API call, and preferably, don't use the catchall Win32API, use KERNEL32.DLL instead, which is the actual provider (the Win32API catchall actually searches several .DLLs for the DLL function, which can be bad with GetLastError(), since the attempt to find the API function will create and clear an error status.)

Thanks Ed, I will investigate this,
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform