[Lazarus] HotKey with Carbon

dmitry boyarintsev skalogryz.lists at gmail.com
Sat Nov 6 17:25:42 CET 2010

On Sat, Nov 6, 2010 at 5:00 PM, Eugen Bolz <info at eugen-bolz.de> wrote:
> Using -Sa and deleted the Assert-function and
This is FPC feature, rather than Lazarus or Carbon specific issue.
With -Sa switch you can be sure that Assert() function code is
compiled, otherwise the expression, given at Assert() function, might
not be compiled. In your case, the program did not install the

> this UPP_Handler it finally works :D
Whenever you meet Carbon events, you should use UPP handlers, instead
of direct function pointers.


More information about the Lazarus mailing list