#include <windows.h>
int WINAPI WinMain(
HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // pointer to command line
int nCmdShow // show state of window
)
{
MessageBox(NULL,"外挂","努力学习",0);
}
这个是我写的程序准备hook,msg的MessageBox,但是hook不成功希望大家帮帮我,修改下这个程序
HMODULE GetModuleHandle(
LPCTSTR lpModuleName
);
If this parameter is NULL, GetModuleHandle returns a handle to the file used to create the calling process.