韩国电影 朋友的母亲:VC使用MSXML DOM的开发环境配置 (备忘,原文来自MSDN)
来源:百度文库 编辑:偶看新闻 时间:2024/10/05 13:11:37
To install MSXML manually 注册msxml4.dllCopy the DLLs to the system directory on your working machine.
Register the DLLs by typing the following at a command prompt: cd c:\windows\system32
regsvr32 msxml4.dll 两种配置方式
There are two ways to instruct your application to use the DOM interfaces: 第一种是自动的,最简单
1)To include headers and libraries automatically
Add the following two lines to your source code: #import raw_interfaces_only
using namespace MSXML2; The raw_interfaces_only flag to #import directive suppresses the creation of "smart pointer" C++ wrapper classes. In many cases, however, these wrappers are quite useful and make working with CDO in C++ very simple. raw_interfaces_only 该属性只允许展示类型库的低级内容。
第二种是手工的,复杂
2)To include headers and libraries manually 1. Locate the SDK directory installed by the appropriate MSXML package.
For example, your directory might be C:\msxml4\sdk, with subdirectories named inc and lib. 2. Add your directory to the standard include path.
To do this in Visual C++, open the Options... panel from the Tools menu. Click the Directories tab, then select Include files from the Show directories for drop-down menu. Add your directory name, such as "C:\msxml4\sdk\inc", to the Directories textbox.这里说的是VC6.0 3. Add your directory to the system library path.
To do this in Visual C++, open the Options... panel from the Tools menu. Click the Directories tab. Select Library files from the Show directories for drop-down menu. Add your directory name to the Directories textbox.
4. Include the required MSXML header file by inserting the following macro into the source code: #include
5. Link msxml2.lib to your project.
To do this in Visual C++, open Project Settings by clicking Settings from the Project menu. Select the Link tab. Append "msxml2.lib" to the Object/library modules: textbox.
Register the DLLs by typing the following at a command prompt: cd c:\windows\system32
regsvr32 msxml4.dll 两种配置方式
There are two ways to instruct your application to use the DOM interfaces: 第一种是自动的,最简单
1)To include headers and libraries automatically
Add the following two lines to your source code: #import
using namespace MSXML2;
第二种是手工的,复杂
2)To include headers and libraries manually 1. Locate the SDK directory installed by the appropriate MSXML package.
For example, your directory might be C:\msxml4\sdk, with subdirectories named inc and lib. 2. Add your directory to the standard include path.
To do this in Visual C++, open the Options... panel from the Tools menu. Click the Directories tab, then select Include files from the Show directories for drop-down menu. Add your directory name, such as "C:\msxml4\sdk\inc", to the Directories textbox.这里说的是VC6.0 3. Add your directory to the system library path.
To do this in Visual C++, open the Options... panel from the Tools menu. Click the Directories tab. Select Library files from the Show directories for drop-down menu. Add your directory name to the Directories textbox.
4. Include the required MSXML header file by inserting the following macro into the source code: #include
5. Link msxml2.lib to your project.
To do this in Visual C++, open Project Settings by clicking Settings from the Project menu. Select the Link tab. Append "msxml2.lib" to the Object/library modules: textbox.
使用ms VC++集成开发环境的时候,为什么按F1时出来的不是MSDN6.0?
怎么在vc++的环境下载入openGL开发库?
VC++开发环境的特征及功能简介
Objectarx2000 vc 环境如何配置?
VC++是C的集成开发环境.编辑工具,那么VC++又是什么语言开发的呢??
vb开发环境用vc++可以吗
Dreamweaver配置JSP开发环境
在使用VC++集成开发环境当中,工作区内的类列表框中的类的顺序与程序代码是否会发生冲突?
求一个程序的源代码,使用VC开发的
怎样在VC++6.0环境下使用ZThread的库?
使用java语言的开发环境都什么
使用java语言的开发环境都有什么
vc环境的问题
c 开发环境选哪个好?最好像TC那种好上手的,除了VC
我想在xp系统下面开发ejb,请问该怎么样配置它的开发环境呢
微软的msxml
利用VC生成HTML文档的DOM树的源代码谁知道?
如何开发一个在配置审计中使用的检查表
求教,eclipse 3.1.1如何配置windows下的j2ee开发环境
c++的开发环境是什么?
asp的开发环境是什么?
visual studio 2005环境下的VC++如何使用库文件?
JAVA高手请回答:如何搭建JAVA的开发环境,以及要使用到的软件
现在还有人使用DOS下的集成开发环境“boywindows”吗?