Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GetDIBits() function call fails Pin
John R. Shaw31-May-07 9:17
John R. Shaw31-May-07 9:17 
AnswerRe: GetDIBits() function call fails Pin
Mark Salsbery31-May-07 9:30
Mark Salsbery31-May-07 9:30 
QuestionNewbie Question Pin
joshp121731-May-07 8:45
joshp121731-May-07 8:45 
AnswerRe: Newbie Question Pin
David Crow31-May-07 10:31
David Crow31-May-07 10:31 
AnswerRe: Newbie Question Pin
Matthew Faithfull31-May-07 11:10
Matthew Faithfull31-May-07 11:10 
GeneralRe: Newbie Question Pin
joshp121731-May-07 11:15
joshp121731-May-07 11:15 
GeneralRe: Newbie Question Pin
Matthew Faithfull31-May-07 11:37
Matthew Faithfull31-May-07 11:37 
Question64 bit XP Pin
Monty231-May-07 7:40
Monty231-May-07 7:40 
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
AnswerSolution for those interested Pin
Monty231-May-07 22:41
Monty231-May-07 22:41 
GeneralRe: Solution for those interested Pin
Mark Salsbery1-Jun-07 6:22
Mark Salsbery1-Jun-07 6:22 
QuestionRegistry vs .Ini files. Pin
Anurag Gandhi31-May-07 7:37
professionalAnurag Gandhi31-May-07 7:37 
AnswerRe: Registry vs .Ini files. Pin
David Crow31-May-07 7:57
David Crow31-May-07 7:57 
GeneralRe: Registry vs .Ini files. Pin
Anurag Gandhi31-May-07 8:00
professionalAnurag Gandhi31-May-07 8:00 
QuestionRe: Registry vs .Ini files. Pin
David Crow31-May-07 8:15
David Crow31-May-07 8:15 
AnswerRe: Registry vs .Ini files. Pin
Anurag Gandhi31-May-07 8:17
professionalAnurag Gandhi31-May-07 8:17 
GeneralRe: Registry vs .Ini files. Pin
Maximilien31-May-07 8:45
Maximilien31-May-07 8:45 
GeneralRe: Registry vs .Ini files. Pin
David Crow31-May-07 8:45
David Crow31-May-07 8:45 
GeneralRe: Registry vs .Ini files. Pin
Matthew Faithfull31-May-07 8:25
Matthew Faithfull31-May-07 8:25 
GeneralRe: Registry vs .Ini files. Pin
Anurag Gandhi31-May-07 8:35
professionalAnurag Gandhi31-May-07 8:35 
AnswerRe: Registry vs .Ini files. Pin
#realJSOP1-Jun-07 3:21
mve#realJSOP1-Jun-07 3:21 
QuestionAnyone know of a VS2005 add-in to do this? Pin
Stick^31-May-07 6:45
Stick^31-May-07 6:45 
QuestionRe: Anyone know of a VS2005 add-in to do this? Pin
David Crow31-May-07 8:13
David Crow31-May-07 8:13 
AnswerRe: Anyone know of a VS2005 add-in to do this? Pin
Stick^31-May-07 8:46
Stick^31-May-07 8:46 
QuestionConvert a number in Cstring and then CString in number? Pin
Immunity1831-May-07 6:40
Immunity1831-May-07 6:40 
AnswerRe: Convert a number in Cstring and then CString in number? [modified] Pin
Roger Stoltz31-May-07 6:52
Roger Stoltz31-May-07 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.