文件名称:code
介绍说明--下载内容均来自于网络,请自行研究使用
VC中程序自修改实现,本篇我们要在程序执行过程中,修改代码段中的一个函数内容,而默认情况下,我们编译生成的程序代码段是可读可执行属性。所以我们需要使用一个预编译指令。
#pragma comment(linker, “/SECTION:.text,ERW”)
-VC in the program from changes to achieve, this we have to program implementation, modify the code in a function content, by default, we compile the generated code is readable executable property. So we need to use a pre-compiler directive.# Pragma comment (linker, " / SECTION:. Text, ERW" )
#pragma comment(linker, “/SECTION:.text,ERW”)
-VC in the program from changes to achieve, this we have to program implementation, modify the code in a function content, by default, we compile the generated code is readable executable property. So we need to use a pre-compiler directive.# Pragma comment (linker, " / SECTION:. Text, ERW" )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code.txt