Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!
Posted
Updated 3-Apr-11 16:17pm
v3

1 solution

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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900