摘要:
#pragma once#include <windows.h>class THREAD{public: HANDLE hThread; THREAD(); ~THREAD(); //常用函数 BOOL Create(LPVOID Address,LPVOID lpParameter); void Terminate(); void Suspend(); void Resume(); void WaitForEnd();};THREAD::THREAD(){ this->hThread=NULL;}... 阅读全文
摘要:
/////////////////////////GameDll.cpp//生成DLL文件//////////////////////#include <windows.h>#include "resource.h"HHOOK hkGame;int CALLBACK DlgProc(HWND hDlg,UINT uMsg,WPARAM wParam,LPARAM lParam){ switch(uMsg) { case WM_CLOSE: { MessageBox(0,"关闭对话框",0,0); EndDialog(h... 阅读全文