🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: UNICODE newbie

#1704
From: Remy Lebeau (TeamB)
Date: Thu, 21 Jun 2007 04:14
22 lines
1651 bytes
"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
Technical Details
Message-ID: <4679fb6f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4679bd3d$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
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4679bd3d$1@newsgroups.borland.com>
Subject: Re: UNICODE newbie
Date: Wed, 20 Jun 2007 21:14:49 -0700
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.82.252.126
Message-ID: <4679fb6f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182399343 75.82.252.126 (20 Jun 2007 21:15:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail