
Destroy Dialog for Dialog based app
I am getting ASSERT messages sometimes, when I terminate my MFC dialog
based app, using EndDialog.
When the user hits the Exit button, I start a thread that signals the app
wants to terminate, and waits for all running threads to complete, the
thread then does and EndDialog on the passed in dialog box.
It appears that threading is causing problem in appcore where the message
pump checks the status of the dialog box handle and is being stepped on
some how.
Is there a way to bring down the dialog through a message, using post
message?
MMeyer...
Please CC by email