Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: variable passed by reference not getting return value

$
0
0
Re: variable passed by reference not getting return value
Web Service Proxy Generator
Re: variable passed by reference not getting return value
Apr. 2, 2013
07:03 pm
3R314UPQ3Show this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Phil Cuba

Does the service support passing the value by reference? If not the value won't be set...

+++ Rick ---



I am trying to pass an array and a variable by reference using the dot net bridge. I am not getting the return value in my variable. What am I doing wrong?

loBridge = CREATEOBJECT("wwDotNetBridge") loService = loBridge.CreateInstance("CheckServices.CheckServices")LOCAL loArr as Westwind.WebConnection.ComArray loArr = loBridge.CreateArray("System.String")*** Add Items loArr.AddItem("Element 0") loArr.AddItem("Element 1")LOCAL rc1 as String RC1='0' llresult=loBridge.InvokeMethod(loService,"TestFoxPro",loArr,@RC1) ?loarr.item(0) ?loarr.item(1) ?RC1



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles