|
-
July 26th, 1999, 03:53 AM
#1
App.PrevInstance
In VB i'm using app.previnstance to check if my application is loaded or not.
Is somebody know the same thing in VC++ .
Thanks
///\\
/////\\)
/////(
////////\Tony Shape
-
July 26th, 1999, 04:32 AM
#2
Re: App.PrevInstance
from the docs:
"The m_hPrevInstance data member is always set to NULL in a Win32 application. To find previous instances of an application, use CWnd::FindWindow."
you can also search the C++ Forum for CreateFileMapping. Someone posted a solution that uses shared memory to find out if another instance of the app is running.
-
July 26th, 1999, 07:24 AM
#3
Re: App.PrevInstance
Go to PJ Naughter's Home Page at http://indigo.ie/~pjn/
Check his Misc Freeware section for CSingleInstance, it is great
While you are there check the rest of his site. Some very interesting stuff.
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
|