error C2501: 'GetDocument' : missing storage-class or type specifiers 问题的处理
2010-04-22 19:27
549 查看
需要在MyTestView.h文件的最上面添加如下内容:
class MyTestDoc;
即在试图类 MyTestView 的头文件上声明文档类 MyTestDoc。
class MyTestDoc;
即在试图类 MyTestView 的头文件上声明文档类 MyTestDoc。
相关文章推荐
- 关于dsound.h的问题error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
- error C2501: 'AUX_RGBImageRec' : missing storage-class or type specifiers
- error C2501: '_Application' : missing storage-class or type specifiers
- error C2501: 'string' : missing storage-class or type specifiers
- unexpected 'class***或error C2501: missing storage-class or type specifiers 错误解决办法
- '_ConnectionPtr' : missing storage-class or type specifiers
- 'HDEVNOTIFY' : missing storage-class or type specifiers
- 'IplImage' : missing storage-class or type specifiers
- 简单的问题,用类创建一个对象error C2380: type(s) preceding 'Complex' (constructor with return type, or illegal redefinition of current class-n
- Vc error C2629: unexpected 'class***或error C2501: missing storage-class or type specifiers
- GetDocument missing storage-class or type specifiers的解决方法
- GetDocument missing storage-class or type specifiers的解决方法
- 头文件交叉定义出现--GetDocument missing storage-class or type specifiers错误的解决方法
- Unknown type name 'class'; did you mean 'Class'? 问题的解决
- 'HDEVNOTIFY' : missing storage-class or type specifiers
- warning C4518: '__int64 ' : storage-class or type specifier(s) unexpected here; ignored
- cocoa Unknown type name 'class'; did you mean 'Class'? 问题的解决
- error: expected constructor, destructor, or type conversion before '(' token问题
- 做MFC的时候引用了头文件但VC还是报missing storage-class or type specifiers
- missing storage-class or type specifiers的原因及解决办法