🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get the "real live" HTML source?

#445
From: Remy Lebeau (TeamB)
Date: Thu, 28 Dec 2006 20:17
23 lines
1869 bytes
"Enrique" <enridp@yahoo.com.ar> wrote in message
news:45941c1c@newsgroups.borland.com...

> What type of smart pointers? classes created by you or using auto_ptr?

auto_ptr is smart pointer for memory that is allocated with the 'new'
operator.  It will not work on interfaces.

In the code I gave you, the smart pointer being used is TComInterface, which
is declared in utilcls.h.

> So... should I use this code (for example):

Yes.

> or this instead?
> (changes marked with /** new **/

No.  That code is not using Release() correctly.


Gambit
Technical Details
Message-ID: <459426d0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4582e657@newsgroups.borland.com> <4582eb35$1@newsgroups.borland.com> <45831d53@newsgroups.borland.com> <4583480c$1@newsgroups.borland.com> <45834aa4$1@newsgroups.borland.com> <4583eee0@newsgroups.borland.com> <4586f05a$1@newsgroups.borland.com> <4588092d@newsgroups.borland.com> <458830cd$1@newsgroups.borland.com> <45940667@newsgroups.borland.com> <45940db0$1@newsgroups.borland.com> <45941c1c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b54437b3b496861e
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: <4582e657@newsgroups.borland.com> <4582eb35$1@newsgroups.borland.com> <45831d53@newsgroups.borland.com> <4583480c$1@newsgroups.borland.com> <45834aa4$1@newsgroups.borland.com> <4583eee0@newsgroups.borland.com> <4586f05a$1@newsgroups.borland.com> <4588092d@newsgroups.borland.com> <458830cd$1@newsgroups.borland.com> <45940667@newsgroups.borland.com> <45940db0$1@newsgroups.borland.com> <45941c1c@newsgroups.borland.com>
Subject: Re: How to get the "real live" HTML source?
Date: Thu, 28 Dec 2006 12:17:31 -0800
Lines: 25
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: 75.83.34.171
Message-ID: <459426d0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1167337168 75.83.34.171 (28 Dec 2006 12:19:28 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail