It went all right with dynamic loading. "liknlib" gives me and error in linking time. So I think runtime loading of dll is better. What I don't know is what it's necessary rename functions with "_" at starting in Mac. Is it a bug? Regards. Juan. El 06/08/2011 19:11, "Ludo Brands" <[email protected]> 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 >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
