Article View: borland.public.cppbuilder.nativeapi
Article #9290Re: Problems getting MAC address...
From: Daniele Borini
Date: Tue, 13 Jul 2004 19:46
Date: Tue, 13 Jul 2004 19:46
10 lines
1631 bytes
1631 bytes
yes, it could be, i wrote an app that needs to get some infos 'bout network adapters. By using GetAdaptersInfo with some systems it, WIN98 it also returns modem stuffs, if you'r not online you get a 0.0.0.0 as IP address. I just took report of my own experience, by testing and testing my with many different systems i found better to use registry instead of IPHelper functions. I've also had a look to msdn site, GetAdaptersInfo's requirements starts from win98. Win NT's not mentioned.... by personal experience under win NT sp 5 function doesn't work...
Technical Details
Message-ID:
<40f43c07@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40f28d13@newsgroups.borland.com> <40f3bacd$5@newsgroups.borland.com> <40f430ec@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3aa0ca650455337a X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 13 Jul 2004 21:46:11 +0200 From: Daniele Borini <borini@infinito.it> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.6) Gecko/20040113 X-Accept-Language: it, en, en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Problems getting MAC address... References: <40f28d13@newsgroups.borland.com> <40f3bacd$5@newsgroups.borland.com> <40f430ec@newsgroups.borland.com> In-Reply-To: <40f430ec@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.94.68.231 Message-ID: <40f43c07@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089747975 62.94.68.231 (13 Jul 2004 12:46:15 -0700) Lines: 10 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail