![]() |
|
#2
|
|||
|
|||
|
One of the best and easiest way to prevent ur app. from running again when its run , is to create a named Mutex for ur app. then you should check it at the begining of ur app. and if CreateMutex returns the ERROR_ALREADY_EXISTS , then you can be sure that another instance of ur app is running and do whtevere u want ! (Find more info about the "CreateMutex" API in MSDN)
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [C] NoDel (tool to prevent file deletion) | Insid3Code | Source Code | 0 | 02-10-2015 16:38 |
| Prevent browser from being killed | nino | General Discussion | 4 | 01-10-2014 02:38 |