|
-
May 1st, 2009, 11:46 PM
#2
Re: More of a logic question, I think..
I had ran into the same problem before.
I was using atoms and mutexes to identify unique instances of the main window.
(I only wanted only one instance of my app to be alive at any one given time)
Funny that i had crashed my program purposly just to see what happens.
In the end i had just used FindWindow() with the main window classname.
There may be other ways to do it, but this way is the easiest i found.
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
|