静态调用dll导出函数的方法

1、在解决方案的头文件中加入:#progma comment(lib,"PatchGame.lib");_declspec(dllimport) BYTE * GetModAddressPointer(int a,char * b);

2、编译一下工程

3、可以在工程.cpp文件中进行函数调用了

猜你喜欢

转载自www.cnblogs.com/mktest123/p/12096002.html