Error: failed to load AfxFormatString string 0xf103. 请解释一下,谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 给出你的部分代码应该是AfxFormatStrings吧或者AfxFormatString1或者AfxFormatString2吧 出错的位置在MFC库里面。我的代码:BOOL CDoc::CanCloseFrame(CFrameWnd* pFrame) { // TODO: Add your specialized code here and/or call the base class return CDocument::CanCloseFrame(pFrame); // 修改了文档时,出错 // 本应弹出是否保存对话框,可是没有找到资源 // Release版本,弹出一个上面空空如也的是否保存对话框}怀疑是我的资源坏了。 是不是修改了表示文档类型的字符串就是和\nMQuery\nMQuery\n\n\nMQuery.Document\nMQuery Document类似的东东了 是啊,我的资源:IDR_MAINFRAMEDelta OPC Server\nServer1\nDelta OPC Server1\nDelta OPC Server Files (*.opc)\n.opc\nDelta_OPC_Server.Document\nDelta OPC Server Document另外,我删除资源中的了: "#define _AFX_NO_SPLITTER_RESOURCES\r\n" "#define _AFX_NO_OLE_RESOURCES\r\n" "#include ""afxres.rc"" // Standard components\r\n" "#include ""afxprint.rc"" // printing/print preview resources\r\n"#include "afxres.rc" // Standard components#include "afxprint.rc" // printing/print preview resources 为什么这段代码在vs2008中不能绘制出图形?仅仅是一闪就没有了 vc中,如何将自定义控件打包成DLL 求救! 关于HookAPI问题 关于生成程序问题? 我是个VC新手哈!在调试一个程序的时候出了点问题!请高手些帮下忙哈!谢谢你们了哈!~~~ 双击打开硬盘上的文件 ****向高手求教:使用了属性页(CTabCtrl)控件,如何在A页用按钮刷新B页的列表框**** 请教exe文件执行过程? fopen问题 各位大虾,小弟的MSDN说什么也不好用了,非得重装系统嘛? 简单问题关于CToolBar! 高分相送,在线等:编译时老是要从头开始完全编译
应该是AfxFormatStrings吧或者AfxFormatString1或者AfxFormatString2吧
我的代码:
BOOL CDoc::CanCloseFrame(CFrameWnd* pFrame)
{
// TODO: Add your specialized code here and/or call the base class
return CDocument::CanCloseFrame(pFrame); // 修改了文档时,出错
// 本应弹出是否保存对话框,可是没有找到资源
// Release版本,弹出一个上面空空如也的是否保存对话框
}
怀疑是我的资源坏了。
就是和\nMQuery\nMQuery\n\n\nMQuery.Document\nMQuery Document类似的东东了
IDR_MAINFRAME
Delta OPC Server\nServer1\nDelta OPC Server1\nDelta OPC Server Files (*.opc)\n.opc\nDelta_OPC_Server.Document\nDelta OPC Server Document
另外,我删除资源中的了:
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#include ""afxprint.rc"" // printing/print preview resources\r\n"
#include "afxres.rc" // Standard components
#include "afxprint.rc" // printing/print preview resources