|
-
January 15th, 2010, 12:00 PM
#1
[MFC] counting application's instances
Hello everyone!
I'd need to count how many instances of my own application are actually running...how I could do that?... I tried with GetProcessHandleCount() giving as first parameter this:
HANDLE hInstance(AfxGetInstanceHandle());
but I always get 0 as count... so I think this functions isn't the right one...
Any idea?...
Thanks
Ciao
Luigi
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
|