Click here to Skip to main content
15,924,482 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvariable solution compiles, but I can't get at value: [modified] Pin
e40s8-Nov-07 11:01
e40s8-Nov-07 11:01 
AnswerRe: variable solution compiles, but I can't get at value: Pin
Llasus8-Nov-07 12:53
Llasus8-Nov-07 12:53 
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 
e40s wrote:
Yes. And that's the mystery.


But according to the code snippet you've shown, OnDataReady() has not been called prior to calling GetContent(). You are constructing a CMemMapCppClientDlg object and immediately calling GetContent() which will obviously return an empty string.


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

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.