xml解析

来源:互联网 发布:破解路由登录linux 编辑:程序博客网 时间:2024/04/16 22:28

1.首先从http://download.microsoft.com/download/b/7/1/b71d5305-618d-4b82-858b-386db3cc4453/msxml6.msi
下载msxml6安装包.

2.在Stdafx.h中引入库文件:#import <msxml6.dll>

3.在InitInstance中初始化ole.加入AfxOleInit()语句.

4."生成xml"按钮事件代码

5."读取xml"按钮事件代码