Article View: borland.public.cppbuilder.nativeapi
Article #1703UNICODE newbie
From: SmartDude
Date: Wed, 20 Jun 2007 23:50
Date: Wed, 20 Jun 2007 23:50
9 lines
1358 bytes
1358 bytes
I recently discovered that filenames on windows XP can have special unicode characters in their filenames. Now it looks like i need to support unicode in my programs. they say that if you define UNICODE it automaticly makes all TCHAR and LPCTSTR parameters for win32 funcions take in wide char(which is what i want). defining UNICODE give me errors but _UNICODE dosn't. Do the ANSIStrings given by TOpenDialog have a unicode representation if you use the .WideChar and .WideCharBufSize? Thanks.
Technical Details
Message-ID:
<4679bd3d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f06180ab9d38cefd,start 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 Subject: UNICODE newbie Date: Wed, 20 Jun 2007 18:50:30 -0500 Lines: 11 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: <4679bd3d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182383421 66.41.203.164 (20 Jun 2007 16:50:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail