错误显示是:The value of ESP was not properly saved across a function call.This is usually a result of calling a functin declared with one calling convention with a function pointer declared with a different calling convention.dll中函数声明:
#ifdef __cplusplus
#define EXPORT extern"C" __declspec(dllexport)
#else
#define EXPORT __declspec(dllexport)
#endifEXPORT int InitModule(void* pParam){
MessageBox(NULL,"InitModule","InitModule",0);
return 0;
}exe 中函数调用:typedef int (WINAPI *FUNC)(void*);FUNC InitFunction;InitFunction=(FUNC)GetProcAddress(hDll,"InitModule");int j=(InitFunction)(pParam);这只是部分代码,此错误忽略后可以继续运行。这到底是什么错误,该怎么改啊????谢谢!!!!