In article <84907@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> Thanks, Ben.
> 
> You say: 
> "To avoid this, say
> const Coord PageHeight = 143;"
> 
> But I will be changing PageHeight at runtime, so I'll need it as a global
> variable. Which brings us back to the Runtime library.

If you change this at runtime, it won't affect the settings of your 
gClipRect, since that was already setup.  Perhaps you should do two 
things:

const Coord DefaultPageHeight = 143;

RectangleType gClipRect = { 
  PageXOrigin, PageYOrigin, PageWidth, DefaultPageHeight };

Coord PageHeight = DefaultPageHeight;

> How do I go about changing from StartupCode.lib to the
> PalmOSRuntime_2i_A5.lib? Targetting the PalmOS is singularly uninformative.

The runtime libray files are in Palm OS Support/CodeWarrior 
Libraries/Runtime.  Just drag the proper LIB file into your project and 
delete the existing StartupCode.lib.

Please file bugs with Metrowerks for anything in Targeting Palm OS you 
think is unclear.  User feedback is the biggest driver we have for 
improving our manuals and documentation.  You can submit bug reports at

http://www.metrowerks.com/contact/bug/

BTW, the runtime libraries are explained in Targeting Palm OS, chapter 
9.  However, the info really is pretty minimal, and it conflicts with 
last minute changes we made on the V8 product that are documented in the 
V8 release notes.

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Get help at http://palmoswerks.com/

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

Reply via email to