改写成 DLL 后调用 出错 WINAPI
我就在原函数前一个exter "C" _declspec(dllexport) BOOL XXX(PBYTE,...........)
调用如下:
typedef BOOL (WINAPI *XXX)(unsigned char *,unsigned char *,long ,const unsigned char *,int ,int );
XXX xxx;
xxx=GetProcAddress(inst,"xxx");
xxx(.......)
为什么会出错:
the value of ESP was not properly....