
Windows编程
oicq2008
这个作者很懒,什么都没留下…
展开
-
VC2005中 WMI编程模板
实现代码如下: #include "stdafx.h" #define _WIN32_DCOM #include using namespace std; #include #include #include # pragma comment(lib, "wbemuuid.lib") BOOL ManageWMI(); int _tmain(int原创 2009-04-02 20:15:00 · 648 阅读 · 0 评论 -
在MFC中使用WMI
最近项目中设计到MFC中使用WMI进行编程。 在控制台模式下,编译不会出问题,但是代码移植到MFC下会出现 未知标识符错误。 解决方法: MFC工程要使用预编译头原创 2009-04-02 20:15:00 · 1277 阅读 · 0 评论