当前位置:编程学习 > C#/ASP.NET >>

VS 2005编程中遇到的问题

d:\virusscan\testapp\testapp.cpp(52) : warning C4996: “CWinApp::Enable3dControls”被声明为否决的
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(4471) : 参见“CWinApp::Enable3dControls”的声明
        消息:“CWinApp::Enable3dControls is no longer needed. You should remove this call.”
TestAppDlg.cpp
d:\virusscan\testapp\testappdlg.cpp(280) : error C3861: “GetProcessIDs”: 找不到标识符
d:\virusscan\testapp\testappdlg.cpp(282) : error C2039: “DeleteCertainItem”: 不是“CListCtrl”的成员
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcmn.h(248) : 参见“CListCtrl”的声明
d:\virusscan\testapp\testappdlg.cpp(285) : error C3861: “GetProcessBaseModuleName”: 找不到标识符
d:\virusscan\testapp\testappdlg.cpp(292) : error C2039: “FindPIDIndex”: 不是“CListCtrl”的成员
        c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxcmn.h(248) : 参见“CListCtrl”的声明
d:\virusscan\testapp\testappdlg.cpp(296) : error C3861: “GetProcessPath”: 找不到标识符
正在生成代码...

为什么会这样,这个是为了显示系统所有正在运行的进程 --------------------编程问答-------------------- 检查一下命名空间和访问权限 --------------------编程问答-------------------- 不能访问类别,很可能就是命名空间混乱,你检查下都是 在一个命名空间下的吗 --------------------编程问答-------------------- 是不是有些头文件没有包含啊··· --------------------编程问答-------------------- 你的代码是从别处复制过来的吧?复制的不全。 --------------------编程问答--------------------
友情帮顶下!顺便学习学习!
--------------------编程问答-------------------- 同意4楼的 看看头文件和访问权限
补充:.NET技术 ,  VC.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,