Показать сообщение отдельно
Старый 10.02.2009, 20:03   #13
jimon
 
Сообщений: n/a
Ответ: Как не дать приложению запуститься более 1 раза?

вот что пишет MSDN по-поводу CreateMutex
If you are using a named mutex to limit your application to a single instance, a malicious user can create this mutex before you do and prevent your application from starting. To prevent this situation, create a randomly named mutex and store the name so that it can only be obtained by an authorized user. Alternatively, you can use a file for this purpose. To limit your application to one instance per user, create a locked file in the user's profile directory.
так что будте осторожны
 
Ответить с цитированием
Сообщение было полезно следующим пользователям:
Blender (01.02.2010)