资 源 简 介
让程序只运行一个实例的简单实用的方法,首先在InitInstance()函数中创建一个同步对象,如果(GetLastError()返回ERROR_ALREADY_EXISTS就表明存在
-Allow to run only one instance of the simple and practical method, first of all, in the InitInstance () function to create a synchronization object, if (GetLastError () return ERROR_ALREADY_EXISTS to indicate the presence