问题描述
- MFC中pDl->OnSend(nErrorCode)
-
使用此语句:pDl->OnSend(nErrorCode),出现如下错误:
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.
请问是什么原因,该怎么解决?
解决方案
你的强制类型转换的目标类型和原始类型不匹配。检查你的代码。
时间: 2024-10-31 13:33:44