Access Violation Error
Posted: Fri Oct 15, 2010 1:02 pm
Hello,
Thanks for your response,
Now I am getting access voilation error.
Also can you please tell me the normal flow for painting as I read that graph.Repaint must be called after adding points to the series. So is there any protocol in which things should be carried out?
In my case i am doing things in following order:
//m_series[nChartIndx].SetActive(false);
series.clear()
series.addXY()
//m_series[nChartIndx].SetActive(true); (IS THIS NECESSARY)
//m_series[nChartIndx].RefreshSeries();(IS THIS NECESSARY)
m_graph[nChartIndx].RedrawWindow();
m_graph[nChartIndx].Repaint();
//m_graph[nChartIndx].UpdateWindow();(IS THIS NECESSARY)
Out of the above calls can you please tell me which of these are necessary and what is the difference in Redraw and Update window.
And what could be the optimized but correct (IDEAL) call sequence. Also why am I getting the access voilation error?
Error Message: Access Violation at address 504E6FE1in module TeeChart7.ocx . Read of address 00000004.
First-chance exception in KonikromPlus.exe (TEECHART7.OCX): 0xC0000005: Access Violation. It seems that I get this error when the teechart is put in background and I do some other work. Or open other window.
i read on other forums that it requires some QrTee.pas latest version . If it is so in my case could you please send it to me as well?
Waiting for an fast reply as an delivery is lined up.
Thanks in advance,roger
Newbie
Posts: 21
Joined: 10 May 2007 00:00
Thanks for your response,
Now I am getting access voilation error.
Also can you please tell me the normal flow for painting as I read that graph.Repaint must be called after adding points to the series. So is there any protocol in which things should be carried out?
In my case i am doing things in following order:
//m_series[nChartIndx].SetActive(false);
series.clear()
series.addXY()
//m_series[nChartIndx].SetActive(true); (IS THIS NECESSARY)
//m_series[nChartIndx].RefreshSeries();(IS THIS NECESSARY)
m_graph[nChartIndx].RedrawWindow();
m_graph[nChartIndx].Repaint();
//m_graph[nChartIndx].UpdateWindow();(IS THIS NECESSARY)
Out of the above calls can you please tell me which of these are necessary and what is the difference in Redraw and Update window.
And what could be the optimized but correct (IDEAL) call sequence. Also why am I getting the access voilation error?
Error Message: Access Violation at address 504E6FE1in module TeeChart7.ocx . Read of address 00000004.
First-chance exception in KonikromPlus.exe (TEECHART7.OCX): 0xC0000005: Access Violation. It seems that I get this error when the teechart is put in background and I do some other work. Or open other window.
i read on other forums that it requires some QrTee.pas latest version . If it is so in my case could you please send it to me as well?
Waiting for an fast reply as an delivery is lined up.
Thanks in advance,roger
Newbie
Posts: 21
Joined: 10 May 2007 00:00