4B. Delphi to IC Verify (Shell)

Once the request file is ready, we shell out to DOS, passing in certain values on the command line (merchant code, data filename, etc.)
procedure TWebVerify.DoExecute;
begin
  fApproval:='';
  fICVText:='';
  //
  writeRequestFile;
  //
  with TWindowsShell.Create(Self) do try
      Flags:=[shlWaitTillDone];
      Command:=CmdDir+CmdCharge;
      Parameters:=getParamstring;
      execute;
      end;
  finally
    free;
    end;
  CheckFile(false);
  DoExecDone;
end;
The CheckFile routine interprets the response file which IC Verify creates upon completion of a transaction.
     
Copyright (c) 1997 HREF Tools Corp. All Rights Reserved.
Permission granted to Borland for use at the 1997 Borland Developer's Conference.
.