🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4595

Re: all IP adresses of the local system

#4595
From: Jonathan Benedicto
Date: Thu, 22 Dec 2005 16:34
27 lines
1432 bytes
EB wrote:
> The following doesn't work:
> char *pAdapterInfo( new char[ulOutBufLen] );

// untested.

char *pAdapterInfo = new char[ulOutBufLen];
try
{
    // put code here.
}
catch( Exception const &E )
{
    delete[] pAdapterInfo;
    throw;
}
catch( ... )
{
    delete[] pAdapterInfo;
    throw;
}
delete[] pAdapterInfo;

Jonathan

http://jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
http://jomitech.com/forum - JomiTech Forums 
Technical Details
Message-ID: <43aad54d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43a832cb$1@newsgroups.borland.com> <43aad18b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,744a3315ee7b00aa
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Benedicto" <incorrect@no.server>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43a832cb$1@newsgroups.borland.com> <43aad18b@newsgroups.borland.com>
Subject: Re: all IP adresses of the local system
Date: Thu, 22 Dec 2005 11:34:54 -0500
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 69.158.122.116
Message-ID: <43aad54d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1135269197 69.158.122.116 (22 Dec 2005 08:33:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail