www.pudn.com > ch02_codes.rar > Pefile.cpp


// Pefile.cpp:ÐÞ¸ÄPEÎļþʵÀý. 
// 
#include "stdafx.h" 
#include "Pe.h" 
 
void main() 
{ 
	CopyFile("..\\calc.exe","..\\calc_shell.exe",FALSE); 
	 
    CPe a; 
	a.ModifyPe("..\\calc_shell.exe","We are the world!"); 
}