Hi everybody, got a little problem...
Lets say i have Delphi library something like this:
library KPOT;
uses
SysUtils,
Dialogs,
Classes;
{$R *.res}
function GO(hz: string): integer;
begin
ShowMessage('DLL CALLED !!!! YO-'+hz);
Result := 2;
end;
exports
GO;
begin
end.
and got autoit3.au3 test script:
$lol = DllCall("KPOT.dll", "int", "GO","str","TEEEEEEEST FINE !!!")
But when I'm runing it - it returns Fatal Error - can't read memory at adress... What I'm doing wrong ? Please help.