-----Original Message-----
From: Ted Trela [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 9 January 2002 2:32 AM
To: Palm Developer Forum
Subject: Re: Locales
> 1. Completely separate localized builds using separate localized .rsrc
> files. (possible and likely)
> 2. Put all localization into one .rsrc file and programmatically select
> the correct resources at run time. (unlikely, lots of code change, big
big
> .rsrc and .prc, possibly a balky application)
Well, that might be not much harder than with 'standard' PalmOS technique.
Normally you use DmGetResource and DmGet1Resource where you don't specify
DmOpenRef, because the data base is selected automatically according to the
current locale. In your case, you need to open
data base manually and keep DmOpenDef. To get the resource, you can use
DmFindResource + DmGetResourceIndex where you supply DmOpenRef explicitly.
Michael
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/