🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#5401
From: Bob Gonder
Date: Sat, 20 Aug 2005 04:17
14 lines
1716 bytes
On Sun, 14 Aug 2005 09:11:33 -0500, you wrote:

>My problem is using the nativeapi. If I make an ASCII app, I get questions
>marks for non-ASCII characters. If I make a UNICODE app, all my win32 api
>calls fail, including LoadLibrary to load RICHED20.DLL.

When using Unicode, do you call LoadLibrary with
 "RICHED20.DLL"  or  L"RICHED20.DLL" ?

Remember, the Wide versions of the API take Wide paramters, and will
not correctly understand ASCII strings..


(You might accidentally receive an email of this)
Technical Details
Message-ID: <bkbdg1tlog67hq7bqj1fojaffh54k3i6el@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ae6457c103542367
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to get Unicode text in a rich text control as 8 bit text.
Date: Fri, 19 Aug 2005 21:17:35 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <bkbdg1tlog67hq7bqj1fojaffh54k3i6el@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>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 209.179.223.1
X-Trace: newsgroups.borland.com 1124511431 209.179.223.1 (19 Aug 2005 21:17:11 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail