I am trying (without much luck to convert my C code: Int32 Mode; Mode = LstGetSelection (FrmGetObjectPtr (frmP, FrmGetObjectIndex (frmP, SetSyncModeList)));
to C++ The compilier does not like the casting (or lack there of). Could someone give me a hand casting the above correctly. Thanks Greg P.S. here are the prototypes for the Palm functions: extern Int16 LstGetSelection (const ListType *listP) extern void *FrmGetObjectPtr (const FormType *formP, UInt16 objIndex) extern UInt16 FrmGetObjectIndex (const FormType *formP, UInt16 objID) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
