Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win95 can not find entry point of kernel32.dll
Message
De
24/06/2003 15:56:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00803451
Message ID:
00803473
Vues:
16
>The getfileattributesex Win API function isn't included in Win95. You can use GetFileAttributes.

I guess Win95 was just too immature for the getfileattributeSEX version.



>
>>I have some code for getting a files attributes. This code works fine on win98, win2000, winXP. But when I try to run it on a win95 box I get an error.
>>"can not find entry point of getfileattributesex in kernel32.dll"
>>
>>I checked and the kernel32.dll does exist in the windows directory. DO I need to upgrade the dll? Or is this not allowed in win95?
>>
>>
    DECLARE INTEGER GetFileAttributesEx IN kernel32;
>>        STRING  lpFileName,;
>>        INTEGER fInfoLevelId,;
>>        STRING  @ lpFileInformation
>>
>>    IF GetFileAttributesEx (m.uFl, 0, @lpFileInformation) = 0
>>        RETURN .F.
>>    ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform