如何在dll项目中使用xml? [英] how to work with xml within the dll project?

查看:168
本文介绍了如何在dll项目中使用xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要使用xml代码的dll项目,但是通常的组件:TXMLDocument无法添加到dll项目中.

I have a dll project that needs to work with xml code, but the usual component: TXMLDocument can not be added to a dll project.

This problem is found to C/C++, VB, Delphi!

推荐答案

不!可以并且应该添加它,如果您需要它.与您使用的软件包有关的DLL和EXE绝对没有区别.您只需要了解有关添加Borland/Embarcadero软件包的信息.
请参见 http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009 /HelpUpdate2/EN/html/delphivclwin32/XMLDoc_TXMLDocument.html [ ^ ].

但是,此单元是VCL的一部分( http://en.wikipedia.org/wiki/Visual_Component_Library [ ^ ]),并且不能与VB一起使用.应该使用Delphi( http://en.wikipedia.org/wiki/Delphi_programming_language [http://en.wikipedia.org/wiki/C%2B%2BBuilder [
No! It can be and should be added it you need it. There is absolutely no difference between DLL and EXE related to packages you use. You just need to learn about adding Borland/Embarcadero packages.
See http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/XMLDoc_TXMLDocument.html[^].

However, this unit is part of VCL (http://en.wikipedia.org/wiki/Visual_Component_Library[^]) and cannot be used with VB. It should be used Delphi (http://en.wikipedia.org/wiki/Delphi_programming_language[^]) or C++ Builder (http://en.wikipedia.org/wiki/C%2B%2BBuilder[^]).

—SA


这篇关于如何在dll项目中使用xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆