« Return to Thread: Freeing memory

Freeing memory

by Selverian, John :: Rate this Message:

Reply to Author | View in Thread

I have a rather basic question.  I have several FXDialogBox windows.  In
the header files I declare pointers and in the constructor I allocate
the memory.  In the quit method of some of these FXDialogBox I delete
the memory and in some I don't (sloppy programming I guess).  I see no
difference in memory allocation or leaking.  Am I doing something wrong
or is the memory automatically cleaned up by fox?  Also, many times my
destructor is never called...does this make sense?

Thanks,

John S




------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

 « Return to Thread: Freeing memory