Article View: borland.public.cppbuilder.internet.web
Article #1124Problems linking using TXMLDocument
From: Carlos Botto
Date: Thu, 12 May 2005 22:24
Date: Thu, 12 May 2005 22:24
42 lines
2299 bytes
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
Technical Details
Message-ID:
<4283d785$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,e860a8321703af4d,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Carlos Botto" <carlosb@qualitau.com> From: "Carlos Botto" <carlosb@qualitau.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: Problems linking using TXMLDocument Date: Thu, 12 May 2005 15:24:06 -0700 Lines: 44 X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 64.2.27.194 Message-ID: <4283d785$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115936645 64.2.27.194 (12 May 2005 15:24:05 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail