Click to See Complete Forum and Search --> : One Instance only


Essam Helmy
May 17th, 1999, 08:50 AM
Hi All,
How to limite my mfc application to one instance only?
I try this
if(m_hPrevInstance != NULL)
return FALSE;
but m_hPrevInstance always return NULL
thanks

scp
May 17th, 1999, 09:07 AM
Use a mutex.

Santhosh