🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #655

Re: Loading Unicode strings from a DLL Stringtable

#655
From: Josh P
Date: Wed, 10 Jul 2002 17:16
19 lines
1413 bytes
"Josh P" <b00urns@hotmail.com> wrote:
>
>Is it possible to load a unicode string from a DLL?
>I have my strings in a stringtable: 
>IDS_CHINESESTRING L"\x5e2e\x52a9"  etc...
>
>loading these in, storing them as wchar_t, doesn't work.
>Borland C++ Builder v6
>
>thanks

i think my problem is the DLL, building it give me strings that are made up of \xAA and BB instead of the 4 character unicode strings.

eg.. \x4E15 becomes \x4E and 15 , where \x4E is just the letter N

so my string becomes "N15" instead of the chinese character that I want.

please help.
Technical Details
Message-ID: <3d2c6bdc$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3d2b72da$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,79a6dc7b97eaa7ba
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2002-07-10 11:42:27 PST
From: "Josh P" <b00urns@hotmail.com>
Sender: "Josh P" <b00urns@hotmail.com>
Reply-To: "Josh P" <b00urns@hotmail.com>
Subject: Re: Loading Unicode strings from a DLL Stringtable
Newsgroups: borland.public.cppbuilder.internationalization
X-User-Info: 216.187.73.129 216.187.73.129    
References:  <3d2b72da$1_2@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3d2c6bdc$1_1@dnews>
Date: 10 Jul 2002 10:16:12 -0700
X-Trace: dnews 1026321372 207.105.83.65 (10 Jul 2002 10:16:12 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews