Hello,
I've just switched from CodeWarrior 9 to 10 and am getting the
following compile error. It didn't occur with CW 9.
Error : function call '[VoCompApp].NewNavObjectFilterUPP(pascal
unsigned char (*)(AEDesc *, void *, void *, short))' does not match
'NewNavObjectFilterUPP(pascal extern "C" unsigned char (*)(AEDesc *,
void *, void *, short))'
I've declared my filter function as follows:
static pascal Boolean MyFileFilter(AEDesc *theItem, void *info, void
*callBackUD, NavFilterModes filterMode) {...}
I've created the function pointer as follows:
g_FilterProc = NewNavObjectFilterUPP((pascal Boolean (*) (AEDesc *,
void *, void *, NavFilterModes))MyFileFilter);
Any help would be appreciated.
Thanks,
Brian


|