trichview.com

trichview.support




Memoryleaks??


Return to index


Author

Message

Pieter E.

Posted: 09/28/2004 16:20:07


How to free for example a TGraphic?


When I use the following code:


TGraphic *grPicture;

Do someting with the graphic and RichViewEdit

.. bla, bla, bla...

grPicture->Free();


I get an error or the image disappears.


When I use:

TGraphic *grPicture;

Do someting with the graphic and RichViewEdit

.. bla, bla, bla...

grPicture = NULL;

delete grPicture;


Everything works fine.

Are there no Memoryleaks???


Thanks.


Pieter E.





Powered by ABC Amber Outlook Express Converter