🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages Started by Carlos Botto Thu, 12 May 2005 22:24
Problems linking using TXMLDocument
#1124
Author: Carlos Botto
Date: Thu, 12 May 2005 22:24
42 lines
2299 bytes
Hi,

I'm using Borland C++ 6.0 Professional.
I'm building a DLL library and one of the obj file (Child.obj) that I
included has a couple of methods to read and write XML files. That unit
compiled and linked well, but when I'm building the DLL I'm getting the
following errors in the linking process:

[Linker Error] Unresolved external '__fastcall
Xmldoc::TXMLDocument::LoadFromFile(const System::WideString)' referenced
from Z:\GRAPH ENVIRONMENT\OBJECT\CHILD.OBJ

[Linker Error] Unresolved external '__fastcall
Xmldoc::TXMLDocument::GetDocumentElement()' referenced from Z:\GRAPH
ENVIRONMENT\OBJECT\CHILD.OBJ

[Linker Error] Unresolved external 'Xmldoc::TXMLDocument::' referenced from
Z:\GRAPH ENVIRONMENT\OBJECT\CHILD.OBJ

In the DLL's options->packages under design packages I have "Borland XML
Components" uncheck, but when I checked it I got the following message
"PAckage c:\Windows\System32\xmlrtl60.bpl can't be installed because it is
not a design time package".

If I check "Build with runtime packages" and add xmlrtl to the packages
lists then it links well, but I'm trying to get rid off it because I don't
want to deploy the xmlrtl60.bpl file along with my application.

I got the same problem if rather than using TXMLDocument I use
_di_IXMLDocument.

Is there any way to install the "Borland XML components" nor any other
component that help me to compile avoiding the use of the "Build with
runtime packages" option?



Thank you



Carlos
Re: Problems linking using TXMLDocument
#1125
Author: Remy Lebeau (TeamB)
Date: Thu, 12 May 2005 23:12
14 lines
1352 bytes
"Carlos Botto" <carlosb@qualitau.com> wrote in message
news:4283d785$1@newsgroups.borland.com...

> If I check "Build with runtime packages" and add xmlrtl to the
> packages lists then it links well, but I'm trying to get rid off it
> because I don't want to deploy the xmlrtl60.bpl file along with
> my application.

You must include the xmlrtl library into the project.  Whether you use
runtime packages or not does not matter.


Gambit
Re: Problems linking using TXMLDocument
#1126
Author: Inna Belov
Date: Fri, 13 May 2005 00:24
30 lines
1845 bytes
Hello Remy,

I am working with Carlos on this project.

The key words here are "include the xmlrtl library into the project". After 
I did exactly this,
everything worked just fine, with no need for runtime packages.

Thanks a lot for your help!

Inna

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4283e3e6$1@newsgroups.borland.com...
>
> "Carlos Botto" <carlosb@qualitau.com> wrote in message
> news:4283d785$1@newsgroups.borland.com...
>
>> If I check "Build with runtime packages" and add xmlrtl to the
>> packages lists then it links well, but I'm trying to get rid off it
>> because I don't want to deploy the xmlrtl60.bpl file along with
>> my application.
>
> You must include the xmlrtl library into the project.  Whether you use
> runtime packages or not does not matter.
>
>
> Gambit
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads