[b][red]This message was edited by Palmpje at 2005-8-25 11:23:10[/red][/b][hr]
This one beats me...
I want to close my app programmatically (as opposed to File/Exit or hitting the 'x' at the top right). I can do this by say using PostQuitMessage(0) and it works, but.... I get a long list of memory leaks whereas I did not allocated any memory at all. The only thing in there is the Doc and the View class.
If I close the program with the File/Exit command the memory leaks do not appear.
I tried checking whether the destructor of the View is called and it is not called when I use PostQuitMessage() but it is called on a 'normal' exit. Could not find any clues yet.
I'm probably being very blond but any help would be appreciated.
0 · ·