Who can help me?
ExecuteProcess aborts the procedure
I am trying to start the VPN client from ShrewSoft via a button.
I read in the user name and password from an InI file.
This works quite well.
But after starting ShrewSoft the procedure aborts.
Although I have searched a lot, I cannot find the error.
Thanks
procedure TForm1.Button1Click(Sender: TObject);
begin
ShowMessage('Test1');
ExecuteProcess('C:\Program Files\ShrewSoft\VPN Client\ipsecc.exe','-r ' + VAccessName + ' -u ' + VUserName + ' -p ' + VPasswort + ' -a');
!! anything below this will be cancelled !!
ShowMessage('Test2');
end;