2012. 3. 21. 03:08

HANDEL hEvent;

hEvent=CreateEvent(NULL,FALSE,TRUE,AfxGetAppName());

if(GetLastError()==ERROR_ALREADY_EXISTS)

{

AfxMessageBox("이미 실행중입니다.");

return FALSE;

}

Posted by k1rha