请教大侠,显式调用动态库中的函数是出现函数调用ESP值保存不正确的错误,导致程序发生错误,请问是什么原因?
我在显式调用DLL库中的函数时,发生DEBUG错误
错误如下:
i386\chkesp.c
Line 42
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 callling convention.
我查了一下,输入和输出的参数类型没有错误.
请问怎么解决?
谢谢