登录
首页 » Visual C++ » MeDelete

MeDelete

于 2011-06-26 发布 文件大小:1529KB
0 315
下载积分: 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 个回复

  • ControlDevice
    一个启用和禁用设备的例子,该代码展示了禁用和启用USB设备的功能。如果需要禁用软驱和光驱,需要修改相应的参数。(Enable and disable a device example, the code to display the disable and enable USB devices. If you need to disable the floppy drive and optical disk drive, a need to amend the corresponding parameters.)
    2008-04-03 11:52:26下载
    积分:1
  • getversion
    本程序是一个获取windows系统的Version的C++程序(This program is a Get the windows system Version C++ program)
    2012-11-16 16:47:19下载
    积分:1
  • Windows
    说明:  利用打印驱动程序生成SVG文件,很好的源代码下载把(Use printer driver to generate SVG documents, a very good source code to download the)
    2008-10-07 12:26:44下载
    积分:1
  • config
    config.c file from win2000 event log sources.
    2013-10-13 02:27:37下载
    积分:1
  • ProcessInfo
    显示当前系统运行的进程,并能够查看进程中所加载的模块(show the system process and modules)
    2013-08-10 21:50:16下载
    积分:1
  • gc
    说明:  简单垃圾回收器本人以多次试用效果不错,请大家多提意见 (Simple garbage collector I would like to try the effect of a good many times, please do so everyone)
    2007-08-07 10:54:52下载
    积分:1
  • barcode
    39条码的生成dll,生成的条码保持在数组里(the dll of creating barcode 39)
    2012-06-18 10:15:22下载
    积分:1
  • EDIDVIEW
    读取注册表中关于显示器edid的记录信息。(Get the EDID information from Reg.)
    2011-12-28 19:45:54下载
    积分:1
  • eXeScope650
    eXeScope650绿色注册版,修改DLL EXE文件!(eXeScope650 free registered version)
    2016-10-25 10:19:31下载
    积分:1
  • 9744_041
    一直在寻找学习c++的好教材,听朋友介绍本书不错,好东西大家分享。(have been studying c find good material, listening to a friend on the book is true, the good things we share.)
    2007-04-26 09:28:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载