在视图头文件里加一句:#include "mydlg.h"
解决方案 »
- 多线程写文件的问题
- _+_+_+_+_+_+_+_+ 有什么比较快的方法,将一个常规DLL改为扩展DLL吗?
- VC调用存储过程,在涉及到临时表的存储过程中返回指定SELECT语句的记录集,要怎么实现啊
- 视图中定时器问题
- 双立方插值和三次卷积插值
- 关于容器的问题
- 怎么判断一个EDIT控件有中文字处于被选种状态
- 如何在Windows 95/98下Hook NdisSend 和 ProtocolReceive?
- 想做一个读取本地机器码的插件,ie可以用activex,但firefox没法调activex,如果要在firefox下都本机机器码这样的功能,用什么方法?
- 一个时间API
- 我在用Serialize有疑问,CArchive 和CFile的区别!
- :请问:怎样在VC++60中调用一个存储过程(一个输入参数,三个输出参数)并得到输出参数?请用 MFC ODBC 语句
不过我加了,有如下错误:
-Configuration: MyMsg - Win32 Debug--------------------
Compiling...
MyMsg.cpp
c:\my documents\初级应用\mymsg\mymsgview.h(40) : error C2146: syntax error : missing ';' before identifier 'Dlg'
c:\my documents\初级应用\mymsg\mymsgview.h(40) : error C2501: 'MyDlg' : missing storage-class or type specifiers
c:\my documents\初级应用\mymsg\mymsgview.h(40) : error C2501: 'Dlg' : missing storage-class or type specifiers
MyMsgView.cpp
c:\my documents\初级应用\mymsg\mymsgview.h(40) : error C2146: syntax error : missing ';' before identifier 'Dlg'
c:\my documents\初级应用\mymsg\mymsgview.h(40) : error C2501: 'MyDlg' : missing storage-class or type specifiers
c:\my documents\初级应用\mymsg\mymsgview.h(40) : error C2501: 'Dlg' : missing storage-class or type specifiers
C:\My Documents\初级应用\MyMsg\MyMsgView.cpp(113) : error C2065: 'Dlg' : undeclared identifier
C:\My Documents\初级应用\MyMsg\MyMsgView.cpp(113) : error C2228: left of '.DoModal' must have class/struct/union type
C:\My Documents\初级应用\MyMsg\MyMsgView.cpp(114) : error C2228: left of '.m_String' must have class/struct/union type
Generating Code...
Error executing cl.exe.MyMsg.exe - 9 error(s), 0 warning(s)