Article View: borland.public.cppbuilder.internationalization
Article #830Creating Resource DLL's
From: Malcolm Smith
Date: Tue, 11 Jun 2002 10:19
Date: Tue, 11 Jun 2002 10:19
30 lines
2141 bytes
2141 bytes
I've been trying to create a resource DLL for a component package - well two
actually. One is design time and the other runtime. They both have string
resources and forms.
I've taken the reinit.pas file from the RichEdit demo and modified the code
to only update a given form (otherwise the code attempts to update all of
the IDE).
The problems.
1. The Resource DLL wizard will not work for packages - it complains it
needs an open project !!!
2. Running the External Translation Manager in BCB6 creates a DLL but the
paths to the DFM's are wrong. I managed to correct this so I can at least
get the DLL to compile. I've managed to modify a form and explicitly call a
method to reinitialise the form with a set locale ID but:
a) I set up a VMware environment with the new locale. I dropped the
resource DLL into the same location as the BPL but the change is not
automatic like it is with applications (at least that is what the help file
says).
b) I cannot get string resources to be including (or exported) in the
DLL. I just get blank strings being returned.
Does anyone have any experience in creating resource DLL's for packages ?
Malcolm
Technical Details
Message-ID:
<3d05ce5b_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!news-xfer2.newshosting.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10297d,3653b3ba3c0427c2,start X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2002-06-11 03:31:09 PST Reply-To: "Malcolm Smith" <mjfreelancing@optusnet.com.au> From: "Malcolm Smith" <mjfreelancing@optusnet.com.au> Newsgroups: borland.public.cppbuilder.internationalization Subject: Creating Resource DLL's Date: Tue, 11 Jun 2002 20:19:36 +1000 Lines: 32 Organization: MJ Freelancing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 198.142.217.55 Message-ID: <3d05ce5b_2@dnews> X-Trace: dnews 1023790683 198.142.217.55 (11 Jun 2002 03:18:03 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!news-xfer2.newshosting.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews