07-04-2005 09:16 AM
void
CGraphDlg::DisplayDataPoint(double x, double y, bool FirstDataPoint){
m_UpperGraph.ChartXY(x, y);
m_LowerGraph.ChartXY(x, y);
}
When I call this function from my View class
m_pGraphDlg->DisplayDataPoint(1, 2, 1);
everything works fine. When I start a thread and call this function
(pO
->m_pGraphDlg)->DisplayDataPoint(2, 3, 0);I get an "Unhandled Exception".
When I trace into the DisplayDataPoint function to check the value of the pointer to the CNiGraph object m_UpperGraph, it's the same in both function calls.
Your help would be appreciated!
Best regrads,
Kurt
07-06-2005 10:13 AM - edited 07-06-2005 10:13 AM
Message Edited by bilalD on 07-06-2005 10:14 AM
07-06-2005 10:52 AM
11-11-2010 02:31 AM
I have the same problem.but, Now it has been solved!!
I would have never found this bug without your help.
Thank you very much.
Sincerely.