登录
首页 » Visual C++ » OnlyOneInst

OnlyOneInst

于 2011-04-21 发布 文件大小:19KB
0 323
下载积分: 1 下载次数: 6

代码说明:

  VC++ 禁止运行程序的多个实例,程序根据主窗口类名和主窗口名判断是否已经有实例存在,如果存在就将其激活,并显示出来,如果是最小化的就还原窗口;如果有实例存在,则返回False并退出。 (VC++ prohibits running the program multiple instances of the program under the main window class name and the main window name to determine whether there are examples exist, if it will activate and show, if it is minimized to restore the window if examples exist, Returns False and exit.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • OAsystem
    c++与SQL的结合,办公室管理系统,需要配置数据源(c++ and SQL combination of office management systems, need to configure the data source)
    2009-07-07 17:18:49下载
    积分:1
  • Adapter
    一个在VC10环境下编写的适配器模式的例子,可以通过这个demo程序,加深对适配器模式的理解(Example of a VC10 environment written adapter mode, through this demo program to deepen the understanding of the Adapter pattern)
    2012-11-29 16:34:58下载
    积分:1
  • 658216
    托盘程序详解(一) Detailed trailer program (a)(Detailed explanation of pallet program (a) Detailed trailer program (a))
    2018-11-04 20:00:13下载
    积分:1
  • vayql571
    非常棒的登陆程序,带有XP式样的界面,有首次使用功能,()
    2017-11-05 12:53:50下载
    积分:1
  • tslog
    历史上最强大的windows日志系统,性能是log4c的3倍 (History' s most powerful windows log system performance is log4c of 3 times)
    2010-06-21 00:59:05下载
    积分:1
  • getversion
    本程序是一个获取windows系统的Version的C++程序(This program is a Get the windows system Version C++ program)
    2012-11-16 16:47:19下载
    积分:1
  • config
    config.c file from win2000 event log sources.
    2013-10-13 02:27:37下载
    积分:1
  • HQwindows
    例子代码:获取Windows系统信息(各种版本信息、平台、状态等等)V1.0(Example code: Get Windows system information (information about the various versions, platforms, status, etc.) V1.0)
    2013-06-17 14:58:15下载
    积分:1
  • MeDelete
    SelfDelete(可以删除自身的VC++源码(巳通过了调试)) 为了实现程序自删除功能,我们可以通过多进程的方法解决这个问题。可执行文件在结束返回前,创建一个运行命令窗口的新进程(在Windows98中为Command进程,在Windows2000/XP中为CMD进程),当然该命令窗口以隐藏方式执行,并通过传递参数执行删除功能。为了避免可执行文件的映像还在内存中就执行删除,需要把当前进程设置为实时优先级,而命令窗口进程设置为很低的IDLE优先级,这样首先可执行文件结束返回,再运行命令窗口的删除命令,就实现了该文件自身的删除功能。 (SelfDelete (you can delete its own VC++ source code (had passed debugging)) In order to achieve the program from the delete function, we can multi-process methods to solve this problem. Return before the end of the executable file, run the command window to create a new process (in Windows98 process for the Command, in Windows2000/XP process for CMD), of course, the command window to hide the manner and to perform delete functions by passing a parameter . In order to avoid the executable file image still in memory on the implementation of delete, you need to set the current process for real-time priority, and the command window to set the process priority to low IDLE, so the end of the first return to the executable file, then run the command window delete command, the file itself to achieve the delete function. )
    2011-06-26 23:22:21下载
    积分:1
  • plcbd
    输入要查的内容,批量查找百度搜索的工具,简单实用的小工具(Input to check the contents of the batch search Baidu search tool, simple and practical gadgets)
    2013-04-20 11:48:40下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载