[fpc-pascal]creating DLL with FPC 1.0.6
senbei at terra.es
Mon Feb 24 17:45:42 CET 2003
I'm having problems using a dll created under Win2k and FPC 1.0.6.
function Hello( s :pchar ) :boolean;
begin WriteLN('hello ',s); end;
exports Hello name 'Hello';
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
More information about the fpc-pascal