Click here to Skip to main content
15,916,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker Error 2001 Pin
moonraker9289-Jul-07 12:04
moonraker9289-Jul-07 12:04 
QuestionRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 12:09
Mark Salsbery9-Jul-07 12:09 
AnswerRe: Linker Error 2001 Pin
moonraker9289-Jul-07 12:16
moonraker9289-Jul-07 12:16 
GeneralRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 12:24
Mark Salsbery9-Jul-07 12:24 
GeneralRe: Linker Error 2001 Pin
moonraker9289-Jul-07 12:41
moonraker9289-Jul-07 12:41 
QuestionRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 12:56
Mark Salsbery9-Jul-07 12:56 
GeneralRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 13:04
Mark Salsbery9-Jul-07 13:04 
GeneralRe: Linker Error 2001 Pin
moonraker9289-Jul-07 13:17
moonraker9289-Jul-07 13:17 
OK. I put a breakpoint on the line in the constructor which enters the first line of text and added the flush() at the end of the constructor. I stepped through all the lines and after passing flush(), opened the replay.txt file. The text had been entered successfully!!

HOWEVER, (after I remove that same flush() statement) if I run through the whole application, trigger the constructor and destructor, and then check the replay.txt file, I don't find anything..

any ideas why?

--
dg

GeneralRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 13:32
Mark Salsbery9-Jul-07 13:32 
GeneralRe: Linker Error 2001 Pin
Bram van Kampen9-Jul-07 14:48
Bram van Kampen9-Jul-07 14:48 
GeneralRe: Linker Error 2001 Pin
moonraker92810-Jul-07 9:12
moonraker92810-Jul-07 9:12 
GeneralRe: Linker Error 2001 Pin
David Crow10-Jul-07 2:44
David Crow10-Jul-07 2:44 
QuestionNew mail message in Outlook Pin
jbaird19-Jul-07 9:19
jbaird19-Jul-07 9:19 
QuestionRe: New mail message in Outlook Pin
David Crow9-Jul-07 10:58
David Crow9-Jul-07 10:58 
GeneralRe: New mail message in Outlook Pin
jbaird19-Jul-07 11:04
jbaird19-Jul-07 11:04 
QuestionCString and integers Pin
mcsherry9-Jul-07 8:22
mcsherry9-Jul-07 8:22 
AnswerRe: CString and integers Pin
mcsherry9-Jul-07 8:33
mcsherry9-Jul-07 8:33 
GeneralRe: CString and integers Pin
David Crow9-Jul-07 8:50
David Crow9-Jul-07 8:50 
QuestionEscape Sequence Pin
Sabry19059-Jul-07 7:22
Sabry19059-Jul-07 7:22 
AnswerRe: Escape Sequence Pin
David Crow9-Jul-07 8:51
David Crow9-Jul-07 8:51 
GeneralRe: Escape Sequence Pin
Sabry19059-Jul-07 22:22
Sabry19059-Jul-07 22:22 
QuestionRe: Escape Sequence Pin
David Crow10-Jul-07 2:42
David Crow10-Jul-07 2:42 
AnswerRe: Escape Sequence Pin
Sabry190510-Jul-07 4:14
Sabry190510-Jul-07 4:14 
QuestionRe: Escape Sequence Pin
David Crow10-Jul-07 4:24
David Crow10-Jul-07 4:24 
AnswerRe: Escape Sequence Pin
Sabry190510-Jul-07 23:51
Sabry190510-Jul-07 23:51 

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.