![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DLL
ellis993
这个作者很懒,什么都没留下…
展开
-
SetHook ,修改dll中的api函数
#include<Windows.h>#include <stdio.h>BOOL SetHook(HMODULE hMod);void ProcessNameList(HMODULE hMod);typedef int(WINAPI* NewMessageBox)(HWND, LPCSTR, LPCSTR, UINT);PROC g_proc = (PROC)MessageBoxA; //取messagebox的名称void main(){ Proces.原创 2021-06-16 21:21:31 · 346 阅读 · 0 评论 -
动态加载dll
创建dll#define _DLL_MAIN_H_#ifdef DLLDEM_EXPORTS#define DLLDEMO_API _declspec(dllexport)#else#define DLLDEMO_API _declspec(dllimport)#endifDLLDEMO_API void ExportFunc(LPCTSTR pszCountent);#endif原创 2021-06-08 22:01:57 · 149 阅读 · 0 评论