Application doesn't exit which is created as wxWidgets dll
|Reported by:||M||Owned by:|
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:
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.
What will be the problem?
Thanks in Advance.