I'm using the illustrious Mr. Krugler's techniques for global variables in
my shared library. It's working well except for one instance.
I have a table with a custom draw procedure. When the draw procedure get's
called (from TblDrawTable/TblRedrawTable), the globals are pooched.
To solve this, I stuff a pointer into the table's row data. The pointer
points to a block of memory which contains the row data plus the globals
handle. I then set up A4, process the draw, and restore A4. This works fine.
My question is this: have I messed something up, or is the PalmOS table code
doing something weird. I looked at the 3.0 source, and didn't find
anything. The problem is happening under PalmOS 3.5.
TIA
David
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/