我从CTreeView继承一个CView1类,为什么提示出下面的错误,我觉得不该出这样的错。请问为什么?
还有为什么用ADO在LAN里不能连上服务器的SQL数据库,服务器是WIN2000+SQL2000,客户机为VC ADO应用程序(在另一台机子上)
还有为什么用ADO在LAN里不能连上服务器的SQL数据库,服务器是WIN2000+SQL2000,客户机为VC ADO应用程序(在另一台机子上)
解决方案 »
- 关于线程
- 鼠标移动到工具栏按钮,状态栏显示工具栏提示信息的问题
- dll 文件中如何连接access数据库?在线等!
- 为什么内存分配失败,高手请进来,高分奉献不够再加
- 请问:如何在clistctrl中使用FindItem查询列表中数据??
- 这个程序怎么做呀---我是个刚学这个的
- 请问我有一个值为(char)0x01的CString 变量,我想把它转为int的,值为1,how do?
- ●●●●●●●300分求对excel编程的代码●●●●●●●●
- 谁知道广州哪里有英文原版的书卖?
- 简单问题:在VC中怎么捕捉到数据库的变化啊~~~
- 泡论坛的好处
- 100分求《windows 2000 编程技术内幕》源码!!!
E:\12\A\View1.cpp(17) : error C2440: 'return' : cannot convert from 'class CView1 *' to 'class CObject *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\12\A\View1.cpp(17) : error C2653: 'CTreeView' : is not a class or namespace name
E:\12\A\View1.cpp(17) : error C2065: 'classCTreeView' : undeclared identifier
E:\12\A\View1.cpp(28) : error C2653: 'CTreeView' : is not a class or namespace name
E:\12\A\View1.cpp(39) : error C2065: 'GetDocument' : undeclared identifier
E:\12\A\View1.cpp(39) : error C2440: 'initializing' : cannot convert from 'int' to 'class CDocument *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
E:\12\A\View1.cpp(49) : error C2653: 'CTreeView' : is not a class or namespace name
E:\12\A\View1.cpp(54) : error C2653: 'CTreeView' : is not a class or namespace name
#include <afxcview.h>
这一句先