LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -2147467262 occurred at No such interface supported

Hi,

 

I get the "Error -2147467262 occurred at No such interface supported" error when calling Automation Open vi (ActiveX palette) and passing in an ActiveX class refnum. The selected class is creatable and I registered the DLL previously.

I don't know how to proceed. Can I check somehow if the ActiveX class is compatible with Labview?

Thanks!

0 Kudos
Message 1 of 5
(4,157 Views)

First of all, providing some more information would be usefull:

- LV version

- Example VI

- Description of the ActiveX Server

 

Are you sure that the ActiveX Server is working correctly with other programming languages?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(4,149 Views)

Please find attached the example in LV 2013. ActiveX Server is working in C++.

0 Kudos
Message 3 of 5
(4,142 Views)

Hi Andrej,

 

Thank you for the attached code, I am getting the same error message:
2014-03-11_11h02_55.png

 

Were you able to successfully connect to your ActiveX Server from any other programming environment, other than C++?

 

I suspect that the problem is in the .dll, for example the ActiveX automation server interface is incorrectly implemented, please refer to the article "ActiveX and LabVIEW" or  "Using ActiveX with LabVIEW" for the details and limitations.

The error message specifically mentions the ActiveX interface of your program.

Although not a requirement, I recommend that you implement the IDispatch interface type to be able to successfully use your ActiveX Server from LabVIEW. If you are using a custom interface, I recommend that you start your debugging there - As ActiveX is a 3rd party technology to us, I can recommend that you looking up Microsoft's referece and looking into creating ActiveX automation servers.

 

Please let me know if you have any further questions.

Best Regards,
T Simon
National Instruments
Applications Engineer
Certified LabVIEW Developer - Certified TestStand Architect
0 Kudos
Message 4 of 5
(4,091 Views)

Sorry, wrong screenshot:

 

2014-03-13_15h29_31.png

Best Regards,
T Simon
National Instruments
Applications Engineer
Certified LabVIEW Developer - Certified TestStand Architect
0 Kudos
Message 5 of 5
(4,052 Views)