ld: symbol(s) not found for architecture i386 Error: Error while linking
at compiling. I've tried with GetProcedureAddress (adapting code) and LoadLibrary loads the library but GetProcedureAddress returns nil. Function in DLL is very simple: function DllMessage(): Integer; begin Result:= 1; end; Did you export DllMessage() ? exports DLLMessage; Try from the console and run (change libyourlib.dylib with the name of your library): nm libyourlib.dylib | grep -i DllMessage and check if it is in the list. Ludo
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
