跟踪调试时遇到这样的错误,如何纠错?
编译并没有任何错误,但是跟踪调试时vc弹出如下的错误窗口,
------------------------------------------------------------------------------------------
Debug Error!
Program: E:\learn\Data\debug\data.exe
Module:
File: i386\chkesp.c
line:42
The value of ESP was not properly saved across a function call. this is usually a result of callingt a function declared with one calling convention with a function pointer declared with a different calling convention.
(Press Retry to debug the application)
<Abort> <Retry> <Igore>
------------------------------------------------------------------------------------------
从字面上看是 函数的调用约定与函数声明的调用约定不一致引起的,但我如何确定究竟是哪个函数调用不对呢?