Page 1 of 1

removeallseries causes EAccessViolation?

Posted: Wed May 12, 2004 3:56 pm
by 8439796
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

Posted: Wed May 12, 2004 4:23 pm
by 8439796
sorry, I figured out. Removeallseries doesn't free series. I just read the manual, everything is fine now.