G
Guest
I'm using the CreateMutex to ensure that only one instance of my vb.net CF
for Windows CE application exists at one time. However, when it detects
another instance attempting to open, the Application.Exit() will not close
the application immediately. In the constructor of my main form, I first
check for multiple instances, and then start a new thread for my splash page.
The problem is, even when the Application.Exit() get called, it still
executes all remaining code in the constructor before actually exiting the
application. Is there a way to force the application to shutdown immediately?
Simply calling frmMain.close() will not work, as the instance validation is
done in a seperate object. Any suggestions?
Thanks in advance.
for Windows CE application exists at one time. However, when it detects
another instance attempting to open, the Application.Exit() will not close
the application immediately. In the constructor of my main form, I first
check for multiple instances, and then start a new thread for my splash page.
The problem is, even when the Application.Exit() get called, it still
executes all remaining code in the constructor before actually exiting the
application. Is there a way to force the application to shutdown immediately?
Simply calling frmMain.close() will not work, as the instance validation is
done in a seperate object. Any suggestions?
Thanks in advance.