Hi,
Is it possible to pass a parameter by reference to a COM server?
I know that it is possible to use arrays with COMARRAY but for some reason passing simple variable doesn't seem to work. Server receives the paramaters but the variable in client doesn't change its value.
Server side code is like this:
DEFINE CLASS Ref as Custom OLEPUBLIC
FUNCTION GetRef(taParam as String @) as VOID
taParam = "10"
ENDFUNC
ENDDEFINE
Client side code:
LOCAL vParam
oServer = CREATEOBJECT("server.Ref")
oServer.GetRef(@vParam)
vParam is false
Thanks!
“You ain’t seen nuthin’ yet” - Ronald Reagan