Hi, I'm having problems using a dll created under Win2k and FPC 1.0.6.
library myplugin; uses Windows; function Hello( s :pchar ) :boolean; begin WriteLN('hello ',s); end; exports Hello name 'Hello'; end. This compiles and creates the dll just fine but when I try to load it at runtime I get an error: address := LoadLibrary( 'myplugin.dll' ); this call gives error code 487, that according to MSDN means : "Attempt to access invalid address." any help will be greatly appreciated _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal