03-06-2014 02:25 AM
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!
03-06-2014 02:31 AM
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
03-06-2014 02:38 AM
Please find attached the example in LV 2013. ActiveX Server is working in C++.
03-11-2014 06:59 AM
Hi Andrej,
Thank you for the attached code, I am getting the same error message:
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.
03-13-2014 09:30 AM
Sorry, wrong screenshot: