Click here to Skip to main content
15,889,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFile::GetFilePath() setting error Pin
Jamie Hale10-Sep-03 8:32
Jamie Hale10-Sep-03 8:32 
GeneralRe: CFile::GetFilePath() setting error Pin
David Crow10-Sep-03 10:05
David Crow10-Sep-03 10:05 
GeneralRe: CFile::GetFilePath() setting error Pin
Jamie Hale10-Sep-03 10:26
Jamie Hale10-Sep-03 10:26 
GeneralRe: CFile::GetFilePath() setting error Pin
David Crow10-Sep-03 10:38
David Crow10-Sep-03 10:38 
GeneralRe: CFile::GetFilePath() setting error Pin
Jamie Hale10-Sep-03 10:46
Jamie Hale10-Sep-03 10:46 
GeneralRe: CFile::GetFilePath() setting error Pin
David Crow11-Sep-03 2:27
David Crow11-Sep-03 2:27 
GeneralRe: CFile::GetFilePath() setting error Pin
Alvaro Mendez10-Sep-03 8:13
Alvaro Mendez10-Sep-03 8:13 
GeneralRe: CFile::GetFilePath() setting error Pin
Jamie Hale10-Sep-03 8:33
Jamie Hale10-Sep-03 8:33 
Alvaro Mendez wrote:
Another option is to copy the CFile::GetStatus into your own code (temporarily), sprinkle that with diagnostic code, and then call it instead of GetFilePath.

That's probably the best way to handle it.

The way not to handle it is by forcefully clearing the error after the call. Which is what I've done. Unsure | :~

J

"I am the Lorax. I speak for the trees."

GeneralCOM port Access Pin
wogerdoger10-Sep-03 6:54
wogerdoger10-Sep-03 6:54 
GeneralRe: COM port Access Pin
Anonymous10-Sep-03 8:01
Anonymous10-Sep-03 8:01 
GeneralRe: COM port Access Pin
wogerdoger10-Sep-03 12:31
wogerdoger10-Sep-03 12:31 
GeneralRe: COM port Access Pin
DarkMarine11-Sep-03 8:18
DarkMarine11-Sep-03 8:18 
QuestionHow to catch an exception in dll? Pin
Eugene Pustovoyt10-Sep-03 6:43
Eugene Pustovoyt10-Sep-03 6:43 
AnswerRe: How to catch an exception in dll? Pin
David Crow10-Sep-03 6:52
David Crow10-Sep-03 6:52 
GeneralRe: How to catch an exception in dll? Pin
Eugene Pustovoyt10-Sep-03 7:57
Eugene Pustovoyt10-Sep-03 7:57 
GeneralRe: How to catch an exception in dll? Pin
David Crow10-Sep-03 8:02
David Crow10-Sep-03 8:02 
GeneralRe: How to catch an exception in dll? Pin
Alvaro Mendez10-Sep-03 8:23
Alvaro Mendez10-Sep-03 8:23 
AnswerRe: How to catch an exception in dll? Pin
Joel Lucsy10-Sep-03 11:19
Joel Lucsy10-Sep-03 11:19 
GeneralThanks to everybody. catch( ... ) works Pin
Eugene Pustovoyt10-Sep-03 18:03
Eugene Pustovoyt10-Sep-03 18:03 
Questionhow to commuicate with a web server Pin
Stober10-Sep-03 6:32
Stober10-Sep-03 6:32 
AnswerRe: how to commuicate with a web server Pin
valikac10-Sep-03 9:08
valikac10-Sep-03 9:08 
Question'lrint' equivalent? Pin
ns10-Sep-03 6:23
ns10-Sep-03 6:23 
AnswerRe: 'lrint' equivalent? Pin
David Crow10-Sep-03 6:55
David Crow10-Sep-03 6:55 
GeneralODBC Datasources Pin
si_6910-Sep-03 5:46
si_6910-Sep-03 5:46 
GeneralRe: ODBC Datasources Pin
David Crow10-Sep-03 6:13
David Crow10-Sep-03 6:13 

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.