🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: UNICODE newbie

#1721
From: SmartDude
Date: Thu, 21 Jun 2007 22:26
28 lines
2028 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4679fb6f$1@newsgroups.borland.com...
>
> "SmartDude" <smartdude81@comcast.net> wrote in message
> news:4679bd3d$1@newsgroups.borland.com...
>
>> defining UNICODE give me errors but _UNICODE dosn't.
>
> Please be more specific.
>
>> Do the ANSIStrings given by TOpenDialog have a unicode
>> representation if you use the .WideChar and .WideCharBufSize?
>
> No.  Most VCL components do not have any Unicode support at all, as
> the Win32 VCL is primarily written for Ansi usage only.  If you want
> to use Unicode, then you need to either use third-party
> Unicode-capable components, such as TntWare, or else access the Win32
> API directly instead of using VCL wrappers.  For instance, TOpenDialog
> calls the Win32 API GetOpenFileName() function internally.  You can
> call that directly, though you will have to set up its values and
> callbacks manually in your own code.
>
>
> Gambit
>
>
I was afraid of that!
Technical Details
Message-ID: <467afb12$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.euro.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4679bd3d$1@newsgroups.borland.com> <4679fb6f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f06180ab9d38cefd
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "SmartDude" <smartdude81@comcast.net>
From: "SmartDude" <smartdude81@comcast.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4679bd3d$1@newsgroups.borland.com> <4679fb6f$1@newsgroups.borland.com>
Subject: Re: UNICODE newbie
Date: Thu, 21 Jun 2007 17:26:25 -0500
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.41.203.164
Message-ID: <467afb12$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182464786 66.41.203.164 (21 Jun 2007 15:26:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.euro.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail