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
