bartop

palmoswerks ARCHIVE
Palm OS programming tips from a (former) CodeWarrior insider

header

Navigation

Search
Home
About
Stories
Stuff I Like
Articles
PilRC
CodeWarrior
palmos.techwood.org
DevTools List
Palm OS Dev FAQ

PilRC-based Form Design Tip

Author:   Ben Combee  
Posted: 12/27/03; 6:49:58 PM
Topic: PilRC-based Form Design Tip
Msg #: 157 (top msg in thread)
Prev/Next: 156/158
Reads: 5185

If you're using the Palm OS 68K linker and hand-editing RCP files, it is sometimes hard to tell how your form will look on the device. There's an easy way to get a preview of the form, however, using the utility PRC Explorer.

After compiling your RCP file, open an explorer window and look at your project's "_Data" folder. If you navigate down into that folder, you should find the .ro file that PilRC created that stores the resources that get linked into your app. For one of my projects, this folder was "sxsw_Data\SXSW_-_Debug\ObjectCode". You can open that .ro file up in PRC Explorer and view the forms and other items immediately, as .ro files are just "resource-only" PRC files. Then, if you modify and recompiled your RCP file, just go and hit F6 in PRC Explorer to have the resources reloaded. If you're viewing a form, you'll see the updated view of the form. This isn't quite as immediate as using PilRC Designer or Constructor, but it is a lot quicker that reloading the app onto a device or emulator.


Send feedback to combee@techwood.org
Copyright © 2004 Benjamin L. Combee
Palm OS is a registered trademark of PalmSource, Inc.
Metrowerks and CodeWarrior are registered trademarks of Metrowerks Inc.

The views expressed on this website/weblog are those of mine alone and do not necessarily reflect the views of PalmSource or Metrowerks.

This is a Manila Site

qwertYAK / frobnovich