views:

182

answers:

1

ActiveX object method has this signature.

long DirectIO(long Command, long* pData, BSTR* pString)

Int32 DirectIO(Int32, Int32 ByRef, System.String ByRef)

I'm attempting to call this method from javascript. I've tried many combinations but always get a "Type mismatch" error.

A: 

As far as I know it's not possible to have multiple ByRef's coming back to javascript.

TNT