On Sat, Nov 6, 2010 at 5:00 PM, Eugen Bolz <[email protected]> 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
handler.

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

thanks,
Dmitry

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to