Article View: borland.public.cppbuilder.internationalization
Article #654Re: Loading Unicode strings from a DLL Stringtable
From: Maris Janis Vasilevskis
Date: Wed, 10 Jul 2002 11:20
Date: Wed, 10 Jul 2002 11:20
18 lines
1701 bytes
1701 bytes
With LoadStringW, you can have problems in 95/98/ME. If you wish to be safe for all users, write your solution with FindResourceEx, LoadResource, LockResource, and extract one of 16 strings from the locked resource. Mahris Cheng-Yuan Bell Hsu wrote: > Yes, but not use VCL. You should use Windows API function LoadStringW(). > This should be able to solve your problem. > > "Josh P" <b00urns@hotmail.com> ���g��l�� news:3d2b72da$1_2@dnews... > > > > 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
Technical Details
Message-ID:
<3D2C186B.74A0A142@myself.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3d2b72da$1_2@dnews> <3d2c0555$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10297d,79a6dc7b97eaa7ba X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2002-07-10 06:14:24 PST Message-ID: <3D2C186B.74A0A142@myself.com> Date: Wed, 10 Jul 2002 14:20:11 +0300 From: Maris Janis Vasilevskis <mahris@myself.com> X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internationalization Subject: Re: Loading Unicode strings from a DLL Stringtable References: <3d2b72da$1_2@dnews> <3d2c0555$1_2@dnews> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 195.13.227.129 X-Trace: dnews 1026299610 195.13.227.129 (10 Jul 2002 04:13:30 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews