Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   [Delphi] SOAP and out variables (https://thetfp.com/tfp/tilted-technology/55507-delphi-soap-out-variables.html)

hrdwareguy 05-13-2004 08:50 AM

[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.


All times are GMT -8. The time now is 04:18 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76