🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: XMLDocument

#1575
From: Remy Lebeau (TeamB)
Date: Fri, 24 Sep 2004 19:47
16 lines
1334 bytes
"Adam Griffin" <adam.griffin@itron.com> wrote in message
news:41547804$1@newsgroups.borland.com...

>   _di_IXMLDocument XMLDoc = NewXMLDocument();
>   _di_IXMLNode Part;
>
> Do I need to perform the following:
>   if (Part) delete Part;
>   if (XMLDoc) delete XMLDoc;

No on both.  They are both using wrapper classes that will automatically
free them accordingly when the wrappers themselves go out of scope.


Gambit
Technical Details
Message-ID: <415479d7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41547804$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,e9031df02ead2af2
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: <41547804$1@newsgroups.borland.com>
Subject: Re: XMLDocument
Date: Fri, 24 Sep 2004 12:47:49 -0700
Lines: 18
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: <415479d7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096055255 68.69.17.41 (24 Sep 2004 12:47:35 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail