error C2352: 'CView::OnInitialUpdate' : illegal call of non-static member function
来源:互联网 发布:淘宝网上卖家诈骗手段 编辑:程序博客网 时间:2024/06/08 12:27
Compiling...
ImageView.cpp
E:/MyProjects/Image/ImageView.cpp(188) : error C2352: 'CView::OnInitialUpdate' : illegal call of non-static member function
d:/program files/microsoft visual studio/vc98/mfc/include/afxwin.h(3584) : see declaration of 'OnInitialUpdate'
E:/MyProjects/Image/ImageView.cpp(190) : error C2065: 'SetScrollSizes' : undeclared identifier
解决方案:
CImageView的基类应该是CScrollView,然而你的估计是CView。
建立mfc是,将基类选择为CScrollView
- error C2352: 'CView::OnInitialUpdate' : illegal call of non-static member function
- error C2352: 'CWnd::MessageBoxW' : illegal call of non-static member function
- 出现错误"illegal call of non-static member function"?
- Call to member function of non-object: setDebug()
- invalid+use+of+non-static+member+function+问题
- error C2597: illegal reference to data member xxxx in a static member function
- Fatal error: Call to a member function setAttribute() on a non-object in Magento
- Magento Fatal Error: Call to member function getSku() on a non-object
- magento Fatal error: Call to a member function toHtml() on a non-object
- mysqli::stmt报Fatal error: Call to a member function bind_param() on a non-object in ...
- magento错误PHP Fatal error: Call to a member function getId() on a non-object
- Fatal error: Call to a member function get() on a non-object
- Fatal error: Call to a member function createTemplate() on a non-object in
- Ecmall 遇到错误Fatal error: Call to a member function get() on a non-object
- magento后台 Fatal error: Call to a member function getId() on a non-object in错误
- Fatal error: Call to a member function read() on a non-object in 错误解决方法
- Wordpress PHP Fatal error: Call to a member function get() on a non-object 解决方法
- Wordpress PHP Fatal error: Call to a member function get() on a non-object 解决方法
- ReleaseSemaphore
- 用session监听器统计在线人数和在线人列表
- vb.net 对于文件的的简单操作
- Activity的四种加载模式
- 2011 3.24 笔记
- error C2352: 'CView::OnInitialUpdate' : illegal call of non-static member function
- Linux驱动中,probe函数何时被调用
- freemarker发送邮件
- 15 Good Computer Programming Habits
- 皋陶输入法进行中。。。
- RSA8.0.1安装时可选功能部件描述
- 输入法继续写之:不同长度词条编码统计...
- 网络编程之监听套接字的误解
- DataTable转换成JSON字符串(不带DT标题)