Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 2:43
yu-jian16-May-12 2:43 
AnswerRe: CFile Open failed GetLastError = 3 Pin
CPallini16-May-12 3:00
mveCPallini16-May-12 3:00 
GeneralRe: CFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 3:05
yu-jian16-May-12 3:05 
GeneralRe: CFile Open failed GetLastError = 3 Pin
CPallini16-May-12 3:21
mveCPallini16-May-12 3:21 
QuestionRe: CFile Open failed GetLastError = 3 Pin
David Crow16-May-12 3:25
David Crow16-May-12 3:25 
AnswerRe: CFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 3:50
yu-jian16-May-12 3:50 
GeneralRe: CFile Open failed GetLastError = 3 Pin
David Crow16-May-12 4:06
David Crow16-May-12 4:06 
AnswerRe: CFile Open failed GetLastError = 3 Pin
Richard MacCutchan16-May-12 4:03
mveRichard MacCutchan16-May-12 4:03 
In the above code you do not test the return value from Open, so the return value of GetLastError() does not mean anything.
Programming is work, it isn't finger painting. Luc Pattyn

GeneralRe: CFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 4:09
yu-jian16-May-12 4:09 
GeneralRe: CFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 4:13
yu-jian16-May-12 4:13 
QuestionRe: CFile Open failed GetLastError = 3 Pin
enhzflep16-May-12 4:21
enhzflep16-May-12 4:21 
GeneralRe: CFile Open failed GetLastError = 3 Pin
Richard MacCutchan16-May-12 4:29
mveRichard MacCutchan16-May-12 4:29 
GeneralRe: CFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 5:20
yu-jian16-May-12 5:20 
GeneralRe: CFile Open failed GetLastError = 3 Pin
Richard Andrew x6416-May-12 5:54
professionalRichard Andrew x6416-May-12 5:54 
GeneralRe: CFile Open failed GetLastError = 3 Pin
Richard MacCutchan16-May-12 7:54
mveRichard MacCutchan16-May-12 7:54 
GeneralRe: CFile Open failed GetLastError = 3 Pin
yu-jian16-May-12 15:07
yu-jian16-May-12 15:07 
GeneralRe: CFile Open failed GetLastError = 3 Pin
CPallini16-May-12 6:55
mveCPallini16-May-12 6:55 
GeneralRe: CFile Open failed GetLastError = 3 Pin
Richard MacCutchan16-May-12 7:55
mveRichard MacCutchan16-May-12 7:55 
QuestionHow to Define Horizontal profile ? c++ Pin
Pixel8615-May-12 16:35
Pixel8615-May-12 16:35 
AnswerRe: How to Define Horizontal profile ? c++ Pin
enhzflep15-May-12 20:08
enhzflep15-May-12 20:08 
Questionunreadable content written by fwrite() Pin
dilipkumarc15-May-12 5:46
dilipkumarc15-May-12 5:46 
AnswerRe: unreadable content written by fwrite() Pin
Richard MacCutchan15-May-12 6:29
mveRichard MacCutchan15-May-12 6:29 
AnswerRe: unreadable content written by fwrite() Pin
David Crow15-May-12 6:34
David Crow15-May-12 6:34 
AnswerRe: unreadable content written by fwrite() Pin
Andy41115-May-12 23:44
Andy41115-May-12 23:44 
QuestionUSB CreateFile() Access is denied Pin
__John_15-May-12 3:58
__John_15-May-12 3:58 

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.