🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: all IP adresses of the local system

#4598
From: Jonathan Benedicto
Date: Thu, 22 Dec 2005 17:23
19 lines
1579 bytes
EB wrote:
> Thanks for the quick reply.
>
> This is what I put in the try{}:

Use Alan Bellingham's method. Mine was too complicated.

std::vector<char> pAdapterInfo(ulOutBufLen);

char *pAdapterInfo = &pAdapterInfo[0];

And replace all pAdapterInfo.get()'s with just pAdapterInfo.

HTH

Jonathan

http://jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
http://jomitech.com/forum - JomiTech Forums 
Technical Details
Message-ID: <43aae0c9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43a832cb$1@newsgroups.borland.com> <43aad18b@newsgroups.borland.com> <43aad54d@newsgroups.borland.com> <43aadc17$1@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> <43aad54d@newsgroups.borland.com> <43aadc17$1@newsgroups.borland.com>
Subject: Re: all IP adresses of the local system
Date: Thu, 22 Dec 2005 12:23:54 -0500
Lines: 21
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: <43aae0c9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1135272137 69.158.122.116 (22 Dec 2005 09:22:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail