removeallseries causes EAccessViolation?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
windmaomao
Newbie
Newbie
Posts: 27
Joined: Sat Dec 06, 2003 5:00 am
Location: baltimore

removeallseries causes EAccessViolation?

Post by windmaomao » Wed May 12, 2004 3:56 pm

I was trying to find any memory leak in my code, so as suggested, I enabled CodeGuard. But I got a EAccessViolation whenever I close the application.

I started with a new application, and figured out whenever I add removeallseries() to the Form's constructor, I got this error when CodeGuard enabled.

I know i'm missing sth. Where shall I put removeallseries() if I want a empty chart after application start up.

Thanks

windmaomao
Newbie
Newbie
Posts: 27
Joined: Sat Dec 06, 2003 5:00 am
Location: baltimore

Post by windmaomao » Wed May 12, 2004 4:23 pm

sorry, I figured out. Removeallseries doesn't free series. I just read the manual, everything is fine now.

Post Reply