Page 1 of 1

ImportC AEInstallEventHandler

Posted: Mon Sep 02, 2019 3:04 pm
by Rinzwind
ImportC "-framework CoreServices"
AEInstallEventHandler(theAEEventClass, theAEEventID, handler, handlerRefcon, isSysHandler)
NewAEEventHandlerUPP(userRoutine)
EndImport

Here I am again... Get some linker error.Anyone sees what's wrong?

Re: ImportC AEInstallEventHandler

Posted: Mon Sep 02, 2019 3:37 pm
by Rinzwind
Ah NewAEEventHandlerUPP is a macro. And apparently can be ignored.