> From: Oscar
> 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 );
Your prototype doesn't match what the compiler expects. Read the
documentation again and change your prototype to match.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/