LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -2147467262 "No such interface supported" when open an ActiveX automation reference to proprietary DLL, why?

I got the error -2147467262 "No such interface supported" when open an ActiveX automation reference to a proprietary DLL. I check the forum which suggested solutions related to comcat.dll and IE6.0. I also tried to re-reqister the dll by regsvr32.exe, still does not work. However, I did nto get any luck. I was told that the DLL support iDispatch interface and should work ok with ActiveX in labview. Any suggestions? I appreciate it.
0 Kudos
Message 1 of 6
(15,051 Views)
Hello

What Operating system are you using? This problem has been reported to us in the past and many of them were solved by reinstalling software such as MS Office, Adobe Acrobat etc. or by installing a newer version of MS Office. So my question would be, what are the different programs you are running on this computer. Which versions?

Thank you
Nandini Subramaniam
Applications Engineering
National Instruments
0 Kudos
Message 2 of 6
(15,034 Views)
Hello, Nandini,

I am using the WinXP and I am calling the DLL provided by Pirouette for their chemometrics software. I just solved the error -2147467262, but the new error comes out is :

Error code: -2147467259 Exception occured in IxAsObjs.CoSIMCAPredict.1, Language Server QueryInterface failed: No such interface supported.

Here is a few word for the problem from priouette:
" just a few more words that might help you understand the nature of the problem. your LabView client talks to AlgSuite.dll using IDispatch interfaces AlgSuite.dll communicates with the language server on an IUnknown interface.
Your client knows nothing about the internal workings of AlgSuite.AlgSuite communicating with objects that do not have IDispatch interfaces should be irrelevant to your client."

Since the VB demo works fine in my machine, so they though it is percular to labview. Any comments? I appreciate it.

LvvL
0 Kudos
Message 3 of 6
(15,023 Views)
I am curious to know if you are connecting to a database of some kind. This error number is often associated with database communication.

Please see the following knowledge base entries:
http://digital.ni.com/public.nsf/websearch/6F0A918BEA7C895686256EA900737F59?OpenDocument
http://digital.ni.com/public.nsf/websearch/1F401CE96BCD2A1D86256DE1006386A0?OpenDocument

Thank you
Nandini Subramaniam
Applications Engineering
National Instruments
0 Kudos
Message 4 of 6
(15,002 Views)
However, I am not dealing with the database at all. I just called one of method of the AlgSuite.DLL. And the method call will call another IxLSUSE.DLL internally which is supposed to have nothing to do with the labview. But it does cause error. As the developer of the DLL suggested, the IxLSUSE.dll use IUnknown interface instead of Idispatch interface. Could this be the reason?
0 Kudos
Message 5 of 6
(14,995 Views)
This thread continued on the following topic...

http://forums.ni.com/ni/board/message?board.id=170&message.id=119977
0 Kudos
Message 6 of 6
(14,973 Views)