Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLinker Error 2001 Pin
moonraker9289-Jul-07 11:23
moonraker9289-Jul-07 11:23 
AnswerRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 11:43
Mark Salsbery9-Jul-07 11:43 
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 
I don't see anything...

Are you at least getting an empty replay.txt file when you exit the app or the dg_scenario
destructor is called (actually it should exist as soon as the
ofstream dg_scenario::dg_video<br />
("replay.txt", ios::out);
line is executed at startup)?

If you put a breakpoint on

ofstream dg_scenario::dg_video("replay.txt", ios::out);

and run the app, is dg_scenario::dg_video constructed properly?

I'm not sure what's going on - I'm testing here with equivalent code and it works fine. Confused | :confused:

Mark




Mark Salsbery
Microsoft MVP - Visual C++


This episode brought to you by the letter Z

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 
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 

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.