07-22-2010 07:22 PM
I'm interfacing a custom ActiveX control. One of the methods returns a reference to another COM object. However in LabView the reference is returned as a Variant, so I need to convert that to a properly typed refnum so I can access its properties. The ActiveX control is registered so LabView knows all about its TLB. I just need a way to create a type constant in which I can specify the COM class (which will be something like "FooCtl.IFooData"), so I can wire it to the type input of Variant to Data and get the reference.
Thank you!
07-22-2010 10:35 PM
Never mind. Got it. Create a dummy refnum of the proper type and wire it to the type input. I'm sure there's a description of this somewhere in the docs...