Your application's resources must also have an overlay preference.  On the
main "page" of your application's resources, there is a checkbox near the
bottom "generate xprf resource".  Check that.  Now your application
indicates that it supports overlays and the underlying OS database code will
load overlays for your application when it finds an overlay matching the OS
language/country settings.

Hope I got that right and I hope it helps.

Kevin

-----Original Message-----
From: Ted Trela [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:11 PM
To: Palm Developer Forum
Subject: Basic Overlay question(s)


I've tried without luck to get overlays to work.  What am I doing wrong?

Using CW7, trying to create a language=fr, countrr=FR overlay

1.  Create basic app.prc with original  .rsrc
2.  Take copy of .rsrc ( app.rsrc, resource.frk\app.rsrc) edit, save,
generate header.
3.  Change output type in project from 'appl' to 'ovly'.
4.  Recompile, link creating new app.prc with new resources bound in.
5.  run prc2ovl to create overlay:      prc2ovl   app.prc -locale frFR -o
app_frFR.prc
6.  Load both original app.prc and app_frFR.prc onto frFR configured Palm
4.1 EFIGS ROM Emulator

The application does not display the resources from the overlay, but instead
the resources from the original .prc.

I've verified using rsrcedit that the app_frFR.prc is in fact an ovly type
and the creator IDs match and that the overlay does contain the edited
resources.

Are there any size limits to overlays? -  the one I've generated is 75K.

Ted.
[EMAIL PROTECTED]





-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to