我用VC调用 DEPHI编写的动态连接库,
原函数声明方式是: 
Debug Error!
Program: F:\Test_Srv.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 calling a function declared with one calling convention with a funtion pointer declared with a different calling convention.调用方式是:HINSTANCE hDLL;
hDLL = LoadLibrary(_T(".\\aa.dll"));if( hDLL == NULL ){
DWORD dd = GetLastError(); CString sMsg0;
if( dd == ERROR_MOD_NOT_FOUND ){
sMsg0.Format("The specified module could not be found.[%d]\n",dd);
}else{
sMsg0.Format("装载动态库出错![%d]\n",dd);
} MessageBox( sMsg0, "通知", MB_ICONERROR );
return ;
}
typedef LPCSTR (*FUNC)( LPCSTR, LPCSTR, LPCSTR, LPCSTR);
FUNC posturl;posturl = (FUNC)GetProcAddress(hDLL, "posturl");::string2file(sItemValue);
sResult = posturl( sUrl, sItemValue, "", "0" );我在其他vc程序通过上面的代码执行没有问题,请问是什么原因?