Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win95 can not find entry point of kernel32.dll
Message
 
 
À
24/06/2003 15:25:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00803451
Message ID:
00803457
Vues:
16
This message has been marked as the solution to the initial question of the thread.
The getfileattributesex Win API function isn't included in Win95. You can use GetFileAttributes.

>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform