MFC生成SDI应用程序,在MyApp.cpp生成模板后,
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
运行到ProcessShellCommand(cmdInfo)会提示:
Unhandle exception in KITE_debug.exe(MFC042P.DLL):0xC0000005:Access volation请问这个错怎么查啊,因为后面自己加的程序都还没运行呢?
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
运行到ProcessShellCommand(cmdInfo)会提示:
Unhandle exception in KITE_debug.exe(MFC042P.DLL):0xC0000005:Access volation请问这个错怎么查啊,因为后面自己加的程序都还没运行呢?
解决方案 »
- mfc做的程序如何同时调用多个应用程序(比如exe,scr)同时运行,同时在一个窗口显示。再如何同时将这些应用程序及程序自己本身结束
- VS2008,DLL,def文件中添加SEGMENTS换行Mysec READ WRITE SHARED 显示******syntax error in
- char*型Format到CString出现乱码
- 不想使用__declspec(dllexport)而单独使用.def文件导出类
- 求教!!!!用MFC制作控件时出的一个问题!!
- 如保用发消息来设备Static文本
- 怎样调用IE,简单问你,高分相送!
- 关于弹出对话框的事件的问题
- 连接数据库之后读取数据库失败
- vc++USB编程请教
- VC操作图片修改尺寸、解析度方法(jpg)
- 申请界面版版主一职,希望大家支持
if (!ProcessShellCommand(cmdInfo)) 里面执行的代码很多的
case CCommandLineInfo::FileNew:
if (!AfxGetApp()->OnCmdMsg(ID_FILE_NEW, 0, NULL, NULL))
OnFileNew();
然后就死循环出不来了,如果跟踪到里面,就是一堆看不懂的代码了:(