>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