|
-
February 9th, 2000, 03:01 AM
#1
Destructor never called - help !
My CMainFrm class derived from CFrameWnd is created in the InitInstance() func. with 'new'. When i later on in the app by a keydown calls PostQuitMessage(0) the app exits but the CMainFrm class destructor never is called.. Why ?. Should all setupcode and cleanup ( except wnd creation ) be made in other funcs.??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|