🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Adaptername?

#11211
From: vERUs
Date: Fri, 20 Feb 2004 00:38
8 lines
1193 bytes
Hi, I'm using GetIfTable to obtain a MIB_IFROW structure for every adapter
on my computer.
I would like to make a list of the adapter names using the wszName member of
the MIB_IFROW structure...
The problem is that I don't know how to convert a WCHAR to an AnsiString.
I've tried AnsiString(wchar_t *), wcscpy() but all I get is an empty
string...
Thanks!
Technical Details
Message-ID: <40355703@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,eb9f277508d90b5a,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-19 16:39:51 PST
From: "vERUs" <-verus-@telia.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Adaptername?
Date: Fri, 20 Feb 2004 01:38:41 +0100
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.210.229.233
Message-ID: <40355703@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077237507 217.210.229.233 (19 Feb 2004 16:38:27 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail