At 14:12 2003-1-7 -0800, you wrote:
You could also just have global pointers to the pref structures and then allocate them at runtime using MemPtrNew. You really shouldn't have large global variables in Palm OS programs that aren't used throughout the whole program, since you can't release back global space to the OS until your app is done.Thanx guys,No segment in my code is greater than 32K. The idea that my global space is too large makes a lot os sense since I am trying to merge 2 large preference struct globals into a single new struct to be stored in the app info block of the db. It's around 25K in size ;) Going to try to fix this by writing a small utility that converts the old prefs into the new one and then eliminating the old prefs globals from the application.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
