Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Use COM from LabWindows CVI gives "Operation not available" error

$
0
0

Dear all, 

 

I'm trying to use a third party DCOM server from my LabWindows/CVI. This would allow me to control remotely the software.

The software abobe and my application are both running on the same machine, for the moment at least.

I've installed and activated DCOM on the PC.

To get the hande to the remote interface I've used the following API CA_GetActiveObjectByClassIdEx(...).

The clsid and appid have been obtained by looking in the registry and via dcomcnfg.exe respectively.

Currently I'm always getting  the error value -2147221021 which translates on the "Operation not available" error message (returned by CA_DisplayErrorInfo(...)), and unless I'm mistaken it doesn't even match with the codes listed in ActiveX Library Error Codes help page.

 

Do you guys have any hints for me on the topic?

 

Thanks in advance

All the best

 

 

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>