文件名称:sinstance
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
让程序只可在一台电脑上运行一个程序实例,C++如何做到的,利用MMF(内存映像文件)来检测,通过其提供的CSingleInstance类,设置exe可执行程序只有一个实例,如何检测一个程序的拷贝正在运行是一个古老的问题,这个例子利用MMF确实值得推荐。-Let the program can only run one instance on a computer, C++ how to do, using MMF (memory image file) to detect, provided by CSingleInstance its class, set only one instance of exe executable program, how to detect a program the copy is running is an old problem, in this case the use of MMF really worth recommending.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sinstance\pinstance.gif
.........\resource.h
.........\sinstance.cpp
.........\sinstance.dsp
.........\sinstance.dsw
.........\sinstance.h
.........\stdafx.cpp
.........\stdafx.h
.........\testinstance.cpp
sinstance