[Lazarus] RE : RE : Imposible call DLL (dylib) in Mac OSX Lion
Ludo Brands
ludo.brands at free.fr
Sat Aug 6 19:11:22 CEST 2011
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/a873b815/attachment-0003.html>
More information about the Lazarus
mailing list