MFC执行程序遇到Debug Assertion Failed问题!!!!

图片说明

设置断点后发现是LoadFrame(IDR_MAINFRAME)的问题
CMainFrame* pMainFrame = new CMainFrame;
if (!pMainFrame || !pMainFrame->LoadFrame(IDR_MAINFRAME))
{
delete pMainFrame;
return FALSE;
}
关键是同样的程序放在其他三台电脑上都能运行!!!!

你应该是在debug模式下进行的吧,切换到release模式下应该就没问题了

采纳错了,上面的人回答全然不对。问题已解决。还是代码问题。