Thanks to everyone who replied. My problem is fixed. I'm sure it was because I was the passing on 0 to DmNewRecord instead of a pointer to a UInt16. The type 'inv' was a typo I did by mistake, I had 'invD' in my code that works on Palms that are not m500 and m505.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
