🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Convert AnsiString to a wchar_t

#1420
From: Damon Chandler (TeamB)
Date: Wed, 22 Aug 2007 17:12
20 lines
1280 bytes
Hi Wayne,

Have a look at the AnsiString::WideChar() method.  You could also use 
the WideString class.

Cheers,
--
Damon Chandler (TeamB)
C++Builder Developer's Journal
http://bcbjournal.com
http://bcbjournal.org


Wayne Smith wrote:
> Does anyone have an example of converting an AnsiString to a wchar_t?
> 
> Thanks in advance,
> Wayne
> 
> 
Technical Details
Message-ID: <46cc6e81$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46cc6c77$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d7a8a86c422cc4e7
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 22 Aug 2007 12:12:41 -0500
From: "Damon Chandler (TeamB)" <editor@NOSPAM.bcbjournal.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Convert AnsiString to a wchar_t
References: <46cc6c77$1@newsgroups.borland.com>
In-Reply-To: <46cc6c77$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 139.78.77.231
Message-ID: <46cc6e81$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1187802753 139.78.77.231 (22 Aug 2007 10:12:33 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail