Article View: borland.public.cppbuilder.internet.web
Article #1288Re: Problems using TXMLDocument
From: Carlos Botto
Date: Fri, 25 Feb 2005 21:26
Date: Fri, 25 Feb 2005 21:26
44 lines
2660 bytes
2660 bytes
Remy, Thanks for your help, the solution to the problem was the call to CoInitialized(). Thanks again Carlos "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:421e3f7e$1@newsgroups.borland.com... > > "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:
<421f9819$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<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> <421e3f7e$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 Reply-To: "Carlos Botto" <carlosb@qualitau.com> From: "Carlos Botto" <carlosb@qualitau.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> <421e3f7e$1@newsgroups.borland.com> Subject: Re: Problems using TXMLDocument Date: Fri, 25 Feb 2005 13:26:49 -0800 Lines: 46 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: 64.2.27.194 Message-ID: <421f9819$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109366809 64.2.27.194 (25 Feb 2005 13:26:49 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail