
Index
Date: Thu, 09 Jun 2005 18:04:24 +0800
From: Hadi
Subject: Re: Release Candidate versions posted
Newsgroups: steema.public.teechart6.cppbuilder steema.public.teechart6.delphi
Dear All,
I face a problem when apply the chart in my application. When we execute
the application without run the chart and then the application is closed
without any problem otherwise the message notification will appear as:
---------------------------
Debugger Exception Notification
---------------------------
Project PTSS.exe raised exception class EAccessViolation with message
'Access violation at address FFF40000. Read of address FFF40000'.
Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
Actually we define the Line series as dynamic run time, we use code as
follows :
for (i=1; i<=max_chart; i++){
Chart1->AddSeries(new TLineSeries(this));
}
There are new statement, consequently we need to free the series, adn we
use below code:
if (Chart1->CountActiveSeries() != 0 ){
Chart1->FreeAllSeries();
}
But unfortunately, the message will appear. How to solve this Problem.
I am very greatfull to thank to all of you who reply my problem.
Thank you very much.
Hadi