Trevor, Without seeing your code its hard to say exactly what is wrong. But one thing to watch for is that a form pointer does not stay valid, it is a pointer to an unlocked position in memory and depending on what you are doing it can get moved on you. I highly recommend getting a new form pointer before each use. Richard
At 11:41 AM 4/16/2002 -0700, you wrote: >Using the debug ROM I am getting a "Bad Form" message from the >FrmValidatePtr function (called automatically) when I am calling a >simple FrmGetObjectIndex. >The thing I can't figure out is that the form pointer is used before >this call and works fine (for a FrmDrawForm and other things). >Does anyone know why this might be occurring to me in the debug ROM? It >works great in the release ROM (but I am doing OS 5 conversion and there >is no rel ROM for the simulator ;_;). > >trv >-- >Trevor Menagh | Software Engineer >[EMAIL PROTECTED] | iambic, Inc. >(408) 367-1600 x20 | Software for handhelds >www.trevreport.org | www.iambic.com > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
