Technology Learning

导航

2009年9月23日

编译程序中出现“fatal error C1010: unexpected end of file”

摘要: Q qjwn: 操作系统:win98 编程工具:vc++ 问题:我在编译程序中老出现“fatal error C1010: unexpected end of file while looking for precompiled header directive”这一句,但我查看了程序并没有错,请问这是怎么一回事? A回答: 肯定是一个新添加的类的.cpp文件开头没包含st... 阅读全文

posted @ 2009-09-23 15:57 浔阳渔夫 阅读(1371) 评论(0) 推荐(0) 编辑

VC中在对话框上使用Rich Edit控件相关问题

摘要: 1.设置edit只读属性 方法一: m_edit1.SetReadOnly(TRUE); 方法二: ::SendMessage(m_edit1.m_hWnd, EM_SETREADONLY, TRUE, 0);2.判断edit中光标状态并得到选中内容(richedit同样适用) int nStart, nEnd; CString strTemp; m_edit1.GetSel(nStart, nE... 阅读全文

posted @ 2009-09-23 14:50 浔阳渔夫 阅读(4635) 评论(0) 推荐(0) 编辑