11-30-2017 06:34 AM
Hi,
I'm trying to use a class from an ActiveX type library. It's registered correctly, I tested its functionality with VBA (in Excel) and it's working as expected. But in LabVIEW, I can't see the functions of the class. The class itself is found i.e. I can choose it from the ActiveX class browser (Select Object From Type Library dialog box) to create an ActiveX reference control and to call the automation open function (which runs without error!). If I pass the refnum to an invoke node, there is no method to invoke. Clicking on the node only opens a grayed-out shortcut menu saying "no methods" instead of the normal method list.
I'm using LabVIEW 17.0
Any ideas what's going wrong?
Thanks,
Broki
11-30-2017 08:25 AM - edited 11-30-2017 08:26 AM
Hard to say with that information.
Are you using a 32 bit dll, in 64 bit LabVIEW? Or vice versa? This happens with the report generation toolkit as well.
11-30-2017 08:40 AM
I'm sorry that I can't give you more information... Sadly, I'm not allowed to share the software.
I'm using a 32 bit dll in 32 bit LabVIEW, so this can't be the reason.
11-30-2017 09:47 AM
@Broki wrote:
I'm sorry that I can't give you more information... Sadly, I'm not allowed to share the software.
That's perfectly OK, but it limits what we can do quite a bit.
My guess would be the dll can't find all it's dependencies. Not 100% sure if this is the behaviour to expect though. I'd think you'll get an error dialog. Running out of ideas...