我建立了个规则的Dll,在程序中显示连接时,调用有参数的函数时总是报错,
提示:Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.我的调用如下:
typedef BOOL (CALLBACK* initjm)( char );
initjm InitJm;
执行到(InitJm)('a');返回时出错。
求助???
提示:Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.我的调用如下:
typedef BOOL (CALLBACK* initjm)( char );
initjm InitJm;
执行到(InitJm)('a');返回时出错。
求助???
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.这个一般都是调用约定的问题。