how come this doesnt work
Code: Select all
procedure ShowMessageBox();
begin
LoadLibrary('E:\jeroen\Delphi\IPROCESS\dllfile.dll');
END;
procedure TForm1.Button1Click(Sender: TObject);
begin
Process('notepad.exe').ExecuteFunction(ShowMessageBox, INFINITE, nil, 5);
end;