Louis Young
2003-11-17 10:56:43 UTC
Hi all
Believe or not, I still haven't found an answer to this one.
Here's the code again:
procedure TfrmMain.buildPaymentPacket(Currency: String);
var
VagasFinancialRequest: IXMLVagasFinancialRequestType;
begin
FreeAndNil(VagasFinancialRequest);
VagasFinancialRequest := GetVagasFinancialRequest(dmData.xdTPPVagas);
VagasFinancialRequest.Currency := Trim(Currency);
end;
The first time when I call the procedure like this:
buildPaymentPacket('710');
It works like a charm.
The second time round, I get this error:
---------------------------
Debugger Exception Notification
---------------------------
Project TPPServer.exe raised exception class EIntfCastError with message
'Interface not supported'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
What exactly this error means, I'm not quite sure yet. Google could not shed
any light on the subject.
If anybody has any ideas, no matter how stupid you might think they sound,
throw them this way. I may or may not have thought of it before.
Thanks
Louis
Believe or not, I still haven't found an answer to this one.
Here's the code again:
procedure TfrmMain.buildPaymentPacket(Currency: String);
var
VagasFinancialRequest: IXMLVagasFinancialRequestType;
begin
FreeAndNil(VagasFinancialRequest);
VagasFinancialRequest := GetVagasFinancialRequest(dmData.xdTPPVagas);
VagasFinancialRequest.Currency := Trim(Currency);
end;
The first time when I call the procedure like this:
buildPaymentPacket('710');
It works like a charm.
The second time round, I get this error:
---------------------------
Debugger Exception Notification
---------------------------
Project TPPServer.exe raised exception class EIntfCastError with message
'Interface not supported'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
What exactly this error means, I'm not quite sure yet. Google could not shed
any light on the subject.
If anybody has any ideas, no matter how stupid you might think they sound,
throw them this way. I may or may not have thought of it before.
Thanks
Louis