I've been trying to write a ModalDialog filter under OSX.
The reason is that I need to create an external code for InstallerVISE that
will operate under Carbon.
I tried copying the code I had used under Classic, and I got it to compile,
but it just crashes when I do anything with filters. I went to the Carbon
doentation, and it defines a ModalFilter as being:
Boolean MyModalFilterProc ( DialogRef theDialog, EventRecord * theEvent,
DialogItemIndex * itemHit
However, I had it defined as:
pascal Boolean MyModalFilterProc (DialogPtr theDialog, EventRecord
*theEvent, short * itemHit)
If I try compiling without ...