🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TXMLDocument - Access violation

#1088
From: Remy Lebeau (TeamB)
Date: Tue, 03 May 2005 06:55
22 lines
1798 bytes
"nikhil" <nikhilbatooni@yahoo.com> wrote in message
news:427710ee$1@newsgroups.borland.com...

> "Raised exception class EAccessViolation with message
> 'Access violation at address 00000000. Read of address
> 00000000'".

You are trying to access an object via a NULL pointer.  Please show your
actual code.

> Raised while accessing the root node with TXMLDocument created at runtime.

Either 1) you did not instantiate the TXMLDocument properly to begin with
(which you should not be doing anyway - use the IXMLDocument interface
instead); 2) you did not load a document into the TXMLDocument at all; or 3)
you did not check for a failed load before trying to access the data.
Either way, you need to provide more detail about what your code is actually
doing.  Your description is much too vague to diagnose your problem with.


Gambit
Technical Details
Message-ID: <4277208b$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <427710ee$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,5ec60bdd5a7fae56
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: <427710ee$1@newsgroups.borland.com>
Subject: Re: TXMLDocument - Access violation
Date: Mon, 2 May 2005 23:55:19 -0700
Lines: 24
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: <4277208b$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115103371 68.69.17.41 (2 May 2005 23:56:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail