🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to use wide character symbols

#4931
From: Alan Bellingham
Date: Tue, 15 Nov 2005 13:35
36 lines
2574 bytes
"sky" <akeehuang@163.com> wrote:

>The program need run under Win9X/Win2000/WinXP
>
>I want to draw some Unicode text on the standard window DC by API function.

One of the major differences between the semi-16 and full-32-bit
versions of Windows is that Win95/98/Me were not designed to support
Unicode, whereas Windows NT/2000/XP are.

 (Some history - back in 1992-94, Microsoft were hot on the NT line of
  OSes. But they knew they couldn't get everyone using Windows 3.1 to
  transition to Windows NT at once, so they produced Chicago - aka
  Windows 95. It was a kludge of Windows 3.1 code, Windows NT code, and
  some new stuff from neither. It existed to allow people to use those
  fragile insecure 16-bit Windows apps, and was only supposed to have
  one version, while they produced a newer better NT 4, and got everyone
  across to that.

  But of course, people wouldn't go for NT. It wasn't pretty enough. And
  there came the 98 and Me patches, before Microsoft finally knocked the
  whole mishmash on the head and dispatched it to the sky. But oh no,
  the zombie will not die!)

If you really do have to support Unicode on 9x, then the following link
is probably the best place to find out the info:


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/microsoft_layer_for_unicode_on_windows_95_98_me_systems.asp

However, I'd suggest implementing for 2000 and later, and only consider
the "Unicode Layer" described there if you really have to.

Alan Bellingham
-- 
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <aonjn152reu5to2st6ptftml5gomh74ojd@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4379743f@newsgroups.borland.com> <43798d80@newsgroups.borland.com> <4379d43d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7b8ae1fb7a416306
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how to use wide character symbols
Date: Tue, 15 Nov 2005 13:35:50 +0000
Reply-To: alanb@episys.com
Message-ID: <aonjn152reu5to2st6ptftml5gomh74ojd@4ax.com>
References: <4379743f@newsgroups.borland.com> <43798d80@newsgroups.borland.com> <4379d43d@newsgroups.borland.com>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1132061705 193.129.251.253 (15 Nov 2005 05:35:05 -0700)
Lines: 36
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail