Ticket #14829 (new defect)
Application doesn't exit which is created as wxWidgets dll
| Reported by: | M | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | wxMSW | Version: | 2.9.4 |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | no | |
| Blocking: |
Description
Hello,
I've created a dll with wxWidgets which the app is calling from executable. But As I seen, when I exit dll application, executable which calls the dll GUI won't exit and still runs at background. Only GUI is invisible and still runs at background. I've attached the application.
The code in dll which is:
MyDllApp::~MyDllApp() {
//ExitProcess(0);
}
When I uncomment ExitProcess(0) it is exiting from dll. But it isn't exiting dll which I've provided the exit code in main.cpp sdk executable.
if(!msg1) {
wx_dll_cleanup();
PostQuitMessage(0);
//::PostMessage(g_hwndMain,WM_DESTROY,0,0);
}
}
What will be the problem?
Thanks in Advance.

