Is there a way to pass parameters by reference that will be occupied by the ActiveX object.
The only way I can get a value is: as a - "[retval, out]" --> means return value
My COM function signature: HRESULT GetProperties( [in, out] BSTR pIn, [out] ULONG* pOut1, [out] ULONG* pOut2,
[out,retval] BSTR* pOutRetVal);
var in, out1, out2, retVal;
var obj = new activexobject("AXname");
retVal = obj.GetProperties(in, out1, out2);