能成功生成,也能成功运行。跟踪进去看到错误不在我的程序里,而在 dbghook.c 里面的 void __cdecl _CRT_DEBUGGER_HOOK(int _Reserved) { /* assign 0 to _debugger_hook_dummy so that the function is not folded in retail */ (_Reserved); _debugger_hook_dummy = 0;//这里中断了。 } 然后返回去看,UpdateData(1)没有成功。 备注:我的edit控件关联的是CString型变量
{
/* assign 0 to _debugger_hook_dummy so that the function is not folded in retail */
(_Reserved);
_debugger_hook_dummy = 0;//这里中断了。
}
然后返回去看,UpdateData(1)没有成功。
备注:我的edit控件关联的是CString型变量