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

Click here to load this message in the networking platform