Article View: borland.public.cppbuilder.internationalization
Article #927Loading Unicode from resource dll
From: Peter
Date: Sun, 16 Sep 2001 19:43
Date: Sun, 16 Sep 2001 19:43
30 lines
1770 bytes
1770 bytes
I want to do this :
http://support.microsoft.com/support/kb/articles/Q196/8/99.asp
But instead of loading it from the exe itself, I need the Unicode text
resource from a dll.
I tried :
HINSTANCE DllHandle = LoadLibrary ("resource.dll") ;
hRC = FindResourceEx(DllHandle,
RT_STRING,
MAKEINTRESOURCE(block) ,
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL));
hRC always returns NULL but DllHandle is a valid handle to the resource
dll.
Any ideas ???
(Same with FindResource())
This is getting on my nerves ... I don't get it to work properly !
Peter
-------------------------------------------------------------
Peter Van Hove
Peter@Smart-Projects.net
www.Smart-Projects.net
www.IsoBuster.com
Technical Details
Message-ID:
<3ba4ffb6_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f48da,7ebfc362bf6b8904,start X-Google-Attributes: gidf48da,public X-Google-Thread: 10297d,7ebfc362bf6b8904,start X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2001-09-16 13:05:15 PST Reply-To: "Peter" <Peter@Smart-Projects.net> From: "Peter" <Peter@Smart-Projects.net> Newsgroups: borland.public.cppbuilder.internationalization,borland.public.delphi.internationalization Subject: Loading Unicode from resource dll Date: Sun, 16 Sep 2001 21:43:55 +0200 Lines: 36 Organization: Smart Projects.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 213.224.243.213 Message-ID: <3ba4ffb6_1@dnews> X-Trace: dnews 1000669110 213.224.243.213 (16 Sep 2001 12:38:30 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews