Click here to Skip to main content
15,843,593 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondebugging an exe on windows xp Pin
ns28-Feb-06 9:20
ns28-Feb-06 9:20 
QuestionSDI's View DC Pin
masnu28-Feb-06 7:54
masnu28-Feb-06 7:54 
AnswerRe: SDI's View DC Pin
PJ Arends28-Feb-06 8:40
professionalPJ Arends28-Feb-06 8:40 
GeneralRe: SDI's View DC Pin
masnu28-Feb-06 8:59
masnu28-Feb-06 8:59 
GeneralRe: SDI's View DC Pin
David Crow28-Feb-06 9:12
David Crow28-Feb-06 9:12 
QuestionRe: SDI's View DC Pin
masnu28-Feb-06 9:52
masnu28-Feb-06 9:52 
QuestionRe: SDI's View DC Pin
David Crow28-Feb-06 10:05
David Crow28-Feb-06 10:05 
AnswerRe: SDI's View DC Pin
masnu28-Feb-06 10:37
masnu28-Feb-06 10:37 
When I debug, that code doesn't even run. The problem occurs when

CDC* pDC = CFrameWnd::GetActiveView()->GetDC();

is executed.

CStripChart is just a class I created to accept a DC and draw a grid to it and plot what ever data is sent to it. I have scroll function as a seperate thread. Could this be a problem?

Is there any way I can get a pointer to the view's DC and pass it to my class for furture use? Or would I need to pass a new DC everytime I wanted to update my window?
QuestionRe: SDI's View DC Pin
David Crow28-Feb-06 11:01
David Crow28-Feb-06 11:01 
AnswerRe: SDI's View DC Pin
masnu28-Feb-06 11:34
masnu28-Feb-06 11:34 
QuestionRe: SDI's View DC Pin
David Crow28-Feb-06 11:40
David Crow28-Feb-06 11:40 
AnswerRe: SDI's View DC Pin
masnu28-Feb-06 11:43
masnu28-Feb-06 11:43 
QuestionRe: SDI's View DC Pin
David Crow28-Feb-06 11:45
David Crow28-Feb-06 11:45 
AnswerRe: SDI's View DC Pin
masnu28-Feb-06 11:54
masnu28-Feb-06 11:54 
AnswerRe: SDI's View DC Pin
PJ Arends28-Feb-06 12:00
professionalPJ Arends28-Feb-06 12:00 
QuestionHow Thread Run Parallely Pin
zahid_ash28-Feb-06 7:52
zahid_ash28-Feb-06 7:52 
AnswerRe: How Thread Run Parallely Pin
David Crow28-Feb-06 8:13
David Crow28-Feb-06 8:13 
GeneralRe: How Thread Run Parallely Pin
zahid_ash28-Feb-06 8:42
zahid_ash28-Feb-06 8:42 
GeneralRe: How Thread Run Parallely Pin
Maximilien28-Feb-06 8:46
Maximilien28-Feb-06 8:46 
GeneralRe: How Thread Run Parallely Pin
David Crow28-Feb-06 8:50
David Crow28-Feb-06 8:50 
GeneralRe: How Thread Run Parallely Pin
zahid_ash28-Feb-06 8:58
zahid_ash28-Feb-06 8:58 
GeneralRe: How Thread Run Parallely Pin
David Crow28-Feb-06 9:10
David Crow28-Feb-06 9:10 
QuestionOpen and write in XML-Document Pin
hanno2528-Feb-06 6:16
hanno2528-Feb-06 6:16 
AnswerRe: Open and write in XML-Document Pin
David Crow28-Feb-06 6:29
David Crow28-Feb-06 6:29 
GeneralRe: Open and write in XML-Document Pin
hanno2528-Feb-06 6:43
hanno2528-Feb-06 6:43 

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.