Reported by Gareth on the Yahoo list.
...
Basically the line:
typedef Boolean (FormGadgetHandlerType) (struct FormGadgetType
*gadgetP, UInt16 cmd, void *paramP);
was causing the crash.
I changed it to
typedef Boolean (FormGadgetHandlerType*) (struct FormGadgetType
*gadgetP, UInt16 cmd, void *paramP);
and it compiled fine. It was definitely compile time not runtime.
...
My take on this is that this should be a callback declaration but instead
of being a function pointer, it's a regular function and this is probably
causing havoc. This really shouldn't crash if we can help it.
Nobody/Anonymous
OnBoard C
OnBoard C
Public
|
Date: 2008-05-28 09:27
|
| Field | Old Value | Date | By |
|---|---|---|---|
| summary | Crash on this code. | 2008-05-28 09:32 | boz_x |