Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win95 can not find entry point of kernel32.dll
Message
 
 
To
24/06/2003 15:25:11
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00803451
Message ID:
00803457
Views:
14
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform