Passing by Reference with COM


I am trying to use the WmWin32/win32.COM.dispatch:invoke service
in wM 6.1. The COM function that I am trying to invoke has arguments
that are passed by reference.

It seems that I am able to successfully invoke my COM function from wM, however upon return the original parameters that I have passed have not been modified. I can return values from the COM function with no problems; it just appears to fail when I pass by reference (By fail I mean my results are not as expected, the invoke call itself still runs successfully).

I have read in the Developers Guide, which states: the Integration Server copies strings by value. Since I am passing a String List to the COM function from webMethods is this the cause of my values not being modified upon return from the COM call? Does anyone know a workaround for this?

Help would be greatly appreciated.