I assume it's because of the this* object being passed to a member function
that doesn't exist in a static..?
Have you used any of the frameworks that Ben suggested?

thanks - bill

>
> At 4:53 PM -0800 11/5/02, Bill Andreozzi wrote:
> >Has anyone done this?
> >(e.g. create a form class, then during the object construction, pass the
> >address of a member function MyFormEventHandler to the FrmSetEventHandler
> >function.)
>
> Yes, people have.  And they've all crashed.  Remember that a function
> pointer is not the same thing as a pointer to a member function.
> They're implemented in different ways, and they are invoked in
> different ways.  The Palm OS API expects the former, and if you
> somehow manage to pass the latter, you'll crash.
>
> -- Keith
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to