Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GsrApp.exe caused invalid page fault in module USER.exe Pin
George L. Jackson9-Feb-06 17:28
George L. Jackson9-Feb-06 17:28 
GeneralRe: GsrApp.exe caused invalid page fault in module USER.exe Pin
it.guru10-Feb-06 5:26
it.guru10-Feb-06 5:26 
QuestionEvent handler for double click in CListCtrl Pin
asdeshmukh9-Feb-06 14:12
asdeshmukh9-Feb-06 14:12 
AnswerRe: Event handler for double click in CListCtrl Pin
EXTEIDE9-Feb-06 14:35
EXTEIDE9-Feb-06 14:35 
AnswerRe: Event handler for double click in CListCtrl Pin
Shog99-Feb-06 14:48
sitebuilderShog99-Feb-06 14:48 
QuestionHow to let VS 6.0 to compile unicode resource file? Pin
transoft9-Feb-06 14:04
transoft9-Feb-06 14:04 
AnswerRe: How to let VS 6.0 to compile unicode resource file? Pin
EXTEIDE9-Feb-06 14:42
EXTEIDE9-Feb-06 14:42 
GeneralRe: How to let VS 6.0 to compile unicode resource file? Pin
transoft10-Feb-06 6:15
transoft10-Feb-06 6:15 
QuestionCode snippets for C++ in VS 8? Pin
gosh9-Feb-06 14:01
gosh9-Feb-06 14:01 
AnswerRe: Code snippets for C++ in VS 8? Pin
S Douglas9-Feb-06 18:43
professionalS Douglas9-Feb-06 18:43 
QuestionReinitializing a strstream Pin
PJ Arends9-Feb-06 13:45
professionalPJ Arends9-Feb-06 13:45 
AnswerRe: Reinitializing a strstream Pin
_anil_9-Feb-06 14:07
_anil_9-Feb-06 14:07 
GeneralRe: Reinitializing a strstream Pin
PJ Arends9-Feb-06 14:20
professionalPJ Arends9-Feb-06 14:20 
GeneralRe: Reinitializing a strstream Pin
_anil_9-Feb-06 14:35
_anil_9-Feb-06 14:35 
GeneralRe: Reinitializing a strstream Pin
PJ Arends9-Feb-06 15:00
professionalPJ Arends9-Feb-06 15:00 
cout << stream.str() << endl;
This line is added in the loop for debugging only. and the output is a series of identical lines "%%1". I also looked up the value in the debugger, used the second ostrstream c'tor where you can supply a char * buffer to be used as the stream and watched that buffer, etc. All have the same effect.

I am using VC6 SP6 with the Feb 2001 SDK if that makes any difference. I tried the code with VC7.0 but that was an even worse experience than with VC6, calling stream.str() results in an access violation at address 0x00000000.

Christian Graus is always saying how streams are the best thing ever, but I am having serious doubts about thatSigh | :sigh:



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: Reinitializing a strstream Pin
_anil_9-Feb-06 15:34
_anil_9-Feb-06 15:34 
GeneralRe: Reinitializing a strstream Pin
PJ Arends9-Feb-06 15:42
professionalPJ Arends9-Feb-06 15:42 
GeneralRe: Reinitializing a strstream Pin
_anil_9-Feb-06 15:56
_anil_9-Feb-06 15:56 
GeneralRe: Reinitializing a strstream Pin
PJ Arends9-Feb-06 16:15
professionalPJ Arends9-Feb-06 16:15 
GeneralGot it! Pin
PJ Arends9-Feb-06 15:53
professionalPJ Arends9-Feb-06 15:53 
AnswerRe: Reinitializing a strstream Pin
Bernhard9-Feb-06 19:51
Bernhard9-Feb-06 19:51 
QuestionHELP NEEDED HERE. PLEASE ANYONE!!!! Pin
jermzypeter9-Feb-06 13:00
jermzypeter9-Feb-06 13:00 
AnswerRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
George L. Jackson9-Feb-06 13:12
George L. Jackson9-Feb-06 13:12 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
jermzypeter9-Feb-06 13:18
jermzypeter9-Feb-06 13:18 
GeneralRe: HELP NEEDED HERE. PLEASE ANYONE!!!! Pin
George L. Jackson9-Feb-06 13:25
George L. Jackson9-Feb-06 13:25 

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.