🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1372

Re: Problems using TXMLDocument

#1372
From: Remy Lebeau (TeamB)
Date: Thu, 24 Feb 2005 20:56
27 lines
2304 bytes
"Carlos Botto" <carlosb@qualitau.com> wrote in message
news:421e3257$1@newsgroups.borland.com...

> And the error "Exception EOleException in module xmlrtl60.bpl
> at 00082831" occurred at the LoadXMLFile sentence (the FileName
> variable has the rigth value). The error window title is "Application
> Error" and there is no more information about it

Have you tried running the DLL through the debugger to find out the exact
exception message?  EOleException should be providing a text message
describing the reason for the exception, which the popup message is
problebly stripping off.

The only other thing I can think of is whether your DLL and/or application
ever called CoInitialize() before loading and accessing the XMLDocument.  By
default, IXMLDocument uses the MSXML engine, when uses COM, so COM has to be
initialized before MSXML can be used.

> Also when I uncheck the ""Build with runtime packages option"
> I get the following error when links the DLL:

You never said whether you are adding the xmlrtl package to your project.  I
asked you about that earlier.


Gambit
Technical Details
Message-ID: <421e3f7e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <421ce3f0$1@newsgroups.borland.com> <421ce683@newsgroups.borland.com> <421cf9a4$1@newsgroups.borland.com> <421d0494$1@newsgroups.borland.com> <421d116d$1@newsgroups.borland.com> <421d1aa4$1@newsgroups.borland.com> <421e3257$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4a54551f5d9bd767
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <421ce3f0$1@newsgroups.borland.com> <421ce683@newsgroups.borland.com> <421cf9a4$1@newsgroups.borland.com> <421d0494$1@newsgroups.borland.com> <421d116d$1@newsgroups.borland.com> <421d1aa4$1@newsgroups.borland.com> <421e3257$1@newsgroups.borland.com>
Subject: Re: Problems using TXMLDocument 
Date: Thu, 24 Feb 2005 12:56:32 -0800
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <421e3f7e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109278590 68.69.17.41 (24 Feb 2005 12:56:30 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail