Delphi 7 При компилировании выдается ошибка: types of actual and formal var parameters must be identical
Код:
procedure TForm1.Button1Click(Sender: TObject);
const
login = 'LOG';
pwd = 'PWD';
var
ws: DEVINOSoap;
Ballance : Variant;
ComandStatus: CommandStatus;
begin
ws := GetDEVINOSoap();
with ws do
GetCreditBalance(login, pwd, ComandStatus, Ballance);
end;
Код:
procedure TForm1.Button1Click(Sender: TObject);
const
login = 'LOG';
pwd = 'PWD';
var
ws: DEVINOSoap;
Ballance : Variant;
ComandStatus: CommandStatus;
begin
ws := GetDEVINOSoap();
with ws do
GetCreditBalance(login, pwd, ComandStatus, Ballance);
end;