Where did u allocate the GlobalType which *g points to? *g may point to somewhere you cannot write to when you use FtrGet.
What if you just use? GlobalType g; -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
