05-13-2004, 08:50 AM | #1 (permalink) |
"Officer, I was in fear for my life"
Location: Oklahoma City
|
[Delphi] SOAP and out variables
I have a Delphi Application that uses SOAP and I am having problems with an out variable.
All of the functions work correct and return correct values. However, there is a procedure that is defined something like this: procedure(structure: structure type, out errorcode:Integer; out errorstring:String); stdcall; This procedure is implemented via SOAP so my code looks like this: SoapComponent.procedure(structure, j, errorstring); The problem is that the variable j (an integer) is never being updated within the procedure call. I have a SOAP sniffer that shows me all soap packets going across my NIC so I know the value being returned from the server and it is different than what the value of j ends up being after the procedure call. I'm stumped. Any ideas would be good. Thanks in advance. |
Tags |
delphi, soap, variables |
|
|