摘要:
MetaHook Plus 是一个GoldSrc引擎(就是的Half-Life、CS1.6的引擎)的客户端插件平台,它可以加载我们自己开发的DLL插件。 首先你需要安装一个 Visual Studio 2005 来编译 MetaHook Plus 本体,也可以用来开发我们自己的插件,这里提供一个镜像 阅读全文
摘要:
1 #include 2 #include 3 #include 4 5 BOOL GetFileHash(LPCSTR lpFileName, LPSTR lpHash) 6 { 7 BOOL bResult = FALSE; 8 9 HANDLE hFile = CreateFile(lpFileName, GENERIC_READ, FILE_S... 阅读全文
摘要:
使用C++语言编写,如果想改成C语言,手动以GetProcAddress的方式来调用相关函数即可。 效果图: 完整程序下载:百度网盘 阅读全文
摘要:
适用于VC编译器(Visual Studio) 附加选项: 例如CItem(注意后面没有空格) 阅读全文
摘要:
在EXE中导出全局变量: N卡: A卡: 阅读全文
摘要:
1 BOOL GetUserSID(CString &Sid) 2 { 3 HANDLE hProcess = GetCurrentProcess(); 4 5 if (hProcess) 6 { 7 HANDLE hToken; 8 9 if (OpenProcessToken(hProcess, TOKEN_QUE... 阅读全文
摘要:
1 #define MAX_ARGS 80 2 #define ARGSIZE 256 3 4 static int cmd_argc; 5 static char cmd_argv[ MAX_ARGS ][ ARGSIZE ]; 6 7 void Cmd_Init( const char *text ) 8 { 9 char *p; ... 阅读全文
摘要:
1 unsigned int table[256] = 2 { 3 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, 4 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B6... 阅读全文
摘要:
1 #define WIN32_LEAN_AND_MEAN 2 #define NOWINRES 3 #define NOSERVICE 4 #define NOMCX 5 #define NOIME 6 #include "windows.h" 7 8 #include 9 #include 10 11 #define TAG_SIZE(a) (... 阅读全文
摘要:
1 #include 2 #include 3 4 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) 5 { 6 SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_FLUSH, NULL, NULL); 7 ... 阅读全文