Dear all,
I set my gadget handler in this way:
FrmSetGadgetHandler ( frmP, ObjIndex, PFormGadgetHandler );
and my PFormGadgetHandler( ) prototype is here:
bool PFormGadgetHandler( struct FormGadgetType* gadgetP, UInt16 cmd, void
*paramP )
but I got the follow compilation error:
Error : illegal explicit conversion from 'bool (*)(FormGadgetType *,
unsigned short, void *)' to 'unsigned char (FormGadgetType *, unsigned
short, void )' Starter.cpp line 336 mSetGadgetHandler ( frmP, ObjIndex,
(FormGadgetHandlerType)PFormGadgetHandler );
Who can help me?
Thanks,
Oscar
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/