passing arguments by reference in com function calls 
Author Message
 passing arguments by reference in com function calls

hi...i am trying to call an activex com object function
which takes couple of [out] parameters. the problem is
jscript doesnt seem to support pass by reference in com
calls...is there any workaround to it??...i will be
greatful of any help u guys can provide me.given below is
a prototype of the function to call from client side
JScript function...

HRESULT foo([In]BSTR *InputBuff, [Out]BSTR*OutputBuff,
[Out]SAFEARRAY structInfo, DWORD dwFlags);



Mon, 19 Jan 2004 02:29:51 GMT  
 passing arguments by reference in com function calls
This part of ScriptX' freely-distributable functionality may help:

http://www.meadroid.com/scriptx/docs/gendocs.htm#jscript

Jerry

Mead & Co Limited


hi...i am trying to call an activex com object function
which takes couple of [out] parameters. the problem is
jscript doesnt seem to support pass by reference in com
calls...is there any workaround to it??...i will be
greatful of any help u guys can provide me.given below is
a prototype of the function to call from client side
JScript function...

HRESULT foo([In]BSTR *InputBuff, [Out]BSTR*OutputBuff,
[Out]SAFEARRAY structInfo, DWORD dwFlags);



Mon, 19 Jan 2004 18:25:11 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Call by reference parameter to a COM function

2. passing arguments by Reference

3. how to pass argument by reference?

4. Passing optional object arguments from COM components

5. Need help passing arguments to a COM method...

6. DynaWrap passing arguments by reference

7. Passing arguments by reference to automation object

8. Passing a variable by reference in a COM object

9. Passing by reference to an ATL COM component

10. Pass a reference to a COM object

11. Passing COM objects by reference

12. pass a COM object reference to a WSC component

 

 
Powered by phpBB® Forum Software