VB6 COM returns ADODB.Recordset in byRef Variant. How to retrieve in C#?
Posted
by Eccentropy
on Stack Overflow
See other posts from Stack Overflow
or by Eccentropy
Published on 2010-04-26T20:13:27Z
Indexed on
2010/04/26
20:33 UTC
Read the original article
Hit count: 378
I'm trying to call this COM method:
Public Function DoSomething(ByRef StringStuff As Variant, **ByRef Out_Data As Variant**) As Boolean
Out_Data gets defined and populated in the method body as an ADODB.Recordset (2.6).
I've tried several different ways I can think of, but still can't seem to get that recordset object out, or in for that matter.
Any ideas?
Thanks...
© Stack Overflow or respective owner