Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 4:30
e40s9-Nov-07 4:30 
AnswerOfftopic Pin
Nelek8-Nov-07 21:39
protectorNelek8-Nov-07 21:39 
GeneralRe: Offtopic Pin
e40s9-Nov-07 5:14
e40s9-Nov-07 5:14 
QuestionRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 4:39
David Crow9-Nov-07 4:39 
AnswerRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 5:02
e40s9-Nov-07 5:02 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 5:34
David Crow9-Nov-07 5:34 
GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 6:03
e40s9-Nov-07 6:03 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 6:20
David Crow9-Nov-07 6:20 
All this extra stuff aside, the fact still remains that:

CMemMapCppClientDlg dlg;
CString strContent = dlg.GetContent();
MessageBox(NULL, strContent, _T("Like this:"), MB_OK);
will do nothing but display an empty message box. You can verify this by initializing m_strContent to something in CMemMapCppClientDlg's constructor.

After looking at what you've provided, it seems you have two instances of CMemMapCppClientDlg: the main one instantiated from CMemMapCppClientApp::InitInstance(), and another one instantiated from SumOneToArray(). Is that correct?


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 6:36
e40s9-Nov-07 6:36 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 6:40
David Crow9-Nov-07 6:40 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 6:45
e40s9-Nov-07 6:45 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 6:47
e40s9-Nov-07 6:47 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 6:52
David Crow9-Nov-07 6:52 
GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 7:04
e40s9-Nov-07 7:04 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 7:11
David Crow9-Nov-07 7:11 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 7:23
e40s9-Nov-07 7:23 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 7:28
David Crow9-Nov-07 7:28 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 8:15
e40s9-Nov-07 8:15 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 8:27
David Crow9-Nov-07 8:27 
GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 8:39
e40s9-Nov-07 8:39 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 10:06
e40s9-Nov-07 10:06 
QuestionRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 10:15
David Crow9-Nov-07 10:15 
AnswerRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 13:01
e40s9-Nov-07 13:01 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 14:51
David Crow9-Nov-07 14:51 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s10-Nov-07 16:23
e40s10-Nov-07 16:23 

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.