如何在dll项目中使用xml?

编程入门 行业动态 更新时间:2024-10-20 00:43:13
本文介绍了如何在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软件包的信息. 请参见 docs.embarcadero/products/rad_studio/delphiAndcpp2009 /HelpUpdate2/EN/html/delphivclwin32/XMLDoc_TXMLDocument.html [ ^ ]. 但是,此单元是VCL的一部分( en.wikipedia/wiki/Visual_Component_Library [ ^ ]),并且不能与VB一起使用.应该使用Delphi( en.wikipedia/wiki/Delphi_programming_language [ ^ ])或C ++ Builder(en.wikipedia/wiki/C%2B%2BBuilder [ ^ ]).
—SA
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 docs.embarcadero/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/XMLDoc_TXMLDocument.html[^]. However, this unit is part of VCL (en.wikipedia/wiki/Visual_Component_Library[^]) and cannot be used with VB. It should be used Delphi (en.wikipedia/wiki/Delphi_programming_language[^]) or C++ Builder (en.wikipedia/wiki/C%2B%2BBuilder[^]).
—SA

更多推荐

如何在dll项目中使用xml?

本文发布于:2023-11-16 11:44:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1603983.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   如何在   dll   xml

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!