🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get Unicode text in a rich text control as 8 bit text.

#5406
From: Alan Bellingham
Date: Sun, 21 Aug 2005 20:13
20 lines
2164 bytes
"Gary Setter" <setterg@worldnet.att.net> wrote:

>otherwise. The problem is that I'm running Window98 and the Unicode builds
>did no run on my machine.

As I would expect. Although the Unicode function entry points will
usually exist on the 16-bit Windows, that's only to allow programs that
don't actually happen to call them to run up OK. Any program that wishes
to actually use those functions will frequently find them to be stubs.

In other words, either state that your program will not run on the
16-bit versions (Windows up to Windows ME), or if you do wish to run on
those versions, then check at startup which version you are on, and
fallback to Ansi function calls only when you discover yourself on ME or
worse.
Alan Bellingham
-- 
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming               <url:http://accu.org/>
The 2004 Discworld Convention                   <url:http://dwcon.org/>
Technical Details
Message-ID: <nrnhg1le1gq1ah7hp8lmdqab4dpchaa5gm@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42f9580f@newsgroups.borland.com> <42fa2e00@newsgroups.borland.com> <42fa4eab$1@newsgroups.borland.com> <42faa0f7@newsgroups.borland.com> <42fe1630@newsgroups.borland.com> <42ff513a@newsgroups.borland.com> <bkbdg1tlog67hq7bqj1fojaffh54k3i6el@4ax.com> <43073f8a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ae6457c103542367
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 get Unicode text in a rich text control as 8 bit text.
Date: Sun, 21 Aug 2005 21:13:39 +0100
Reply-To: alanb@episys.com
Message-ID: <nrnhg1le1gq1ah7hp8lmdqab4dpchaa5gm@4ax.com>
References: <42f9580f@newsgroups.borland.com> <42fa2e00@newsgroups.borland.com> <42fa4eab$1@newsgroups.borland.com> <42faa0f7@newsgroups.borland.com> <42fe1630@newsgroups.borland.com> <42ff513a@newsgroups.borland.com> <bkbdg1tlog67hq7bqj1fojaffh54k3i6el@4ax.com> <43073f8a$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 3.0/32.763
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1124655199 62.49.31.105 (21 Aug 2005 13:13:19 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail