碰到Debug Assertion Failed! 明人请指点!!

heroful 2006-07-07 11:45:50
执行程序,运行一个模块后,出现Debug Assertion Failed!
Program:路径………………
File:afx.inl
Line:437
For information on how you program can cause an assertion
failure ,see the Visual C++ documention on asserts.
然后,我重试,自动跟踪后,它自动跳到
extern int AFXAPI AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPTSTRlpCmdLine, int nCmdShow);

extern "C" int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
// call shared/exported WinMain
return AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
}
和#ifdef WPRFLAG
mainret = (
#else /* WPRFLAG */
mainret = WinMain(
#endif /* WPRFLAG */
GetModuleHandle(NULL),
NULL,
lpszCommandLine,
StartupInfo.dwFlags & STARTF_USESHOWWINDOW
? StartupInfo.wShowWindow
: SW_SHOWDEFAULT
);
#else /* _WINMAIN_ */
不知是什么原因,请高手指点~~~~~~~~~~~~~
...全文
229 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
heroful 2006-07-07
  • 打赏
  • 举报
回复
大师们,请麻烦指点下吧,我都为这整得头痛了,还得交差,请大家帮帮忙吧
taianmonkey 2006-07-07
  • 打赏
  • 举报
回复
程序发到邮箱!
cong119@sohu.com

2,644

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧