64 bit XP
-
This Code fails on XP 64 bit even if the file exists in the target folder The exe is 32 bit
CString str;
str = "C:\\WINDOWS\\system32\\drivers\\acpi.sys";if(!PathFileExists(str))
{
//Fails but the file exists and can be seen in explorer
//fopen fails to with err=2 (invalid path)
}i can paste any file in that folder (text file or whatever) and the result will be file not found (errcode=2) it shows same behaviour in "c:\windows\system32" folder So is there some security issue i am not seeing cause this thing runs fine in vista with UAC enabled Thanks
-
This Code fails on XP 64 bit even if the file exists in the target folder The exe is 32 bit
CString str;
str = "C:\\WINDOWS\\system32\\drivers\\acpi.sys";if(!PathFileExists(str))
{
//Fails but the file exists and can be seen in explorer
//fopen fails to with err=2 (invalid path)
}i can paste any file in that folder (text file or whatever) and the result will be file not found (errcode=2) it shows same behaviour in "c:\windows\system32" folder So is there some security issue i am not seeing cause this thing runs fine in vista with UAC enabled Thanks
-
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1673046&SiteID=1[^]
C++ where friends have access to your private members !
Good to know! Thanks for the update! Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder