Article View: borland.public.cppbuilder.nativeapi
Article #11213Re: Adaptername?
From: Remy Lebeau (TeamB)
Date: Fri, 20 Feb 2004 01:24
Date: Fri, 20 Feb 2004 01:24
16 lines
1400 bytes
1400 bytes
"vERUs" <-verus-@telia.com> wrote in message news:40355703@newsgroups.borland.com... > The problem is that I don't know how to convert a WCHAR to an AnsiString. Just assign it directly. AnsiString has an appropriate constructor for wchar_t characters. > I've tried AnsiString(wchar_t *), wcscpy() but all I get is an > empty string... Did you check to see whether the wszName itself was not empty to begin with? Gambit
Technical Details
Message-ID:
<40355ff1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40355703@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,eb9f277508d90b5a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-19 17:39:47 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40355703@newsgroups.borland.com> Subject: Re: Adaptername? Date: Thu, 19 Feb 2004 17:24:32 -0800 Lines: 18 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: 67.22.138.253 Message-ID: <40355ff1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1077239793 67.22.138.253 (19 Feb 2004 17:16:33 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail