[Lazarus] RE : RE : Imposible call DLL (dylib) in Mac OSX Lion

Juan Sánchez aldeacity at gmail.com
Sat Aug 6 19:28:53 CEST 2011


Thans again. I'l rename function and try it. I'l inform about the result.
Juan.
El 06/08/2011 19:11, "Ludo Brands" <ludo.brands at free.fr> escribió:
>
>
> With "nm" I get function name so it is on library.
>
>
>
> When you do a GetProcedureHandle for DllMessage, it will actually look for
> _DllMessage. That's the reason why GetProcedureHandle returns nil.
>
> If you declare your function as _DllMessage, loading at runtime will work
> also.
>
> Ludo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110806/6ff61ee7/attachment-0003.html>


More information about the Lazarus mailing list