文件名称:remove-c-program-when-run
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.62kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
大家都知道,一般的程序运行的时候,可执行文件本身是被操作系统保护的,不能用改写的方式访问,更别提在本身还在运行的时侯删除自己了。在网上看到一种UNDOCUMENT的方法,通过改变系统底层的文件访问模式实现删除自己。但是有没有一种用在MSDN上就能查到的函数实现呢?答案是肯定的。下面请看一个范例:-We all know that, in general, when running the executable file itself is protected by the operating system, access can not be rewritten, not to mention in itself is still running at the right time to delete himself. On the Internet see a UNDOCUMENT way, by changing the underlying file system access patterns to achieve delete itself. But is there a use can be found on MSDN the function to achieve it? The answer is yes. Please see below an example:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C++运行中程序删除自己的方法.wps
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.