登录
首页 » Visual C++ » MeDelete

MeDelete

于 2011-06-26 发布 文件大小:1529KB
0 333
下载积分: 1 下载次数: 24

代码说明:

  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. )

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

发表评论

0 个回复

  • WMIDemo
    WMI查询操作是学习wmi不错的例子,还是值得推荐的(WMI query is learning wmi good example is worthy of recommendation)
    2014-01-03 22:10:53下载
    积分:1
  • pigdjas67
    说明:  By throwing an exception to indicate the occurrence of an error(By throwing an exception to indicate the occurrence of an erro)
    2018-12-25 13:29:14下载
    积分:1
  • WCRT-1.12
    windows 运行时库 crt 的源代码(windows runtime crt source code)
    2012-04-20 13:27:40下载
    积分:1
  • GJP
    计算高阶矩计算高阶矩计算高阶矩计算高阶矩计算高阶矩计算高阶矩计算高阶矩计算高阶矩计算高阶矩计算高阶矩(Trans For Gao)
    2017-05-22 12:59:43下载
    积分:1
  • 6416198
    Similar to VB property sheet controls(Similar to the VB property sheet controls)
    2017-07-19 01:30:36下载
    积分:1
  • generic_processorConfigBits
    无线组网 远距离可靠性设计及应用 433M/315M 星型结构物联网通讯(Design and application of wireless network long distance reliability 433M/315M Star structure networking communication)
    2017-02-10 18:53:13下载
    积分:1
  • Chapter9_6
    多线程实例!是一个很好的实例!是为我们开发多用户和需要多进程的程序做好充分准备!(Examples of multi-threaded! Is a good example! For us to develop multi-user and the need for multi-process procedures are fully prepared!)
    2008-08-05 18:07:32下载
    积分:1
  • Power02
    读取电池电量,显示电量和剩余时间,根据电量的多少显示托盘,读写注册表,开机启动,新手程序,请多批评(Read battery, battery and remaining time display, display tray according to the amount of power, read and write registry, boot, novice program, like him to criticize)
    2011-08-11 14:10:26下载
    积分:1
  • VbUpdate
    说明:  自动更新程序 用于开发自动更新程序! 为方便开发自动更新的朋友参考!(Automatic Update for the development of auto-update procedure! To facilitate the development of auto-update friends reference!)
    2008-09-27 00:57:23下载
    积分:1
  • oead
    说明:  Source code 按i2c时序读写寄存器(Source code read and write registers according to i2c sequence)
    2018-12-26 09:48:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载