我的DLL中用到了CList<> info,有两个对话框,其中有两个导出函数show(void),input(LPCTSTR, int, LPCTSTR),input输入数据保存到CList中,调用show时显示对话框,并显示输入的数据,问题是,当我不调用input时,DLL显示很正常,但调用input然后再调用show时却提示如下错误:请帮忙看一下可能的原因!谢谢!错误如下:
Debug Error!
Module 
File: i386\chkesp.c
Lines:42The values 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.