LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Automation DLL

Hi

I am adding 3rd party DLL in my program using ActiveX controller option. In some computer my exe file is working properly and in some computer it is giving me error. I checked that in debug mode and I found that it is saying like " Function CA_CstrintoSTR (return value -214722059) could not load Automation support DLL" and becasue of that I am not able to use DLL's call. I also register that dll with regsvr32. But same DLL is working on other computer with same enviorment. Can you please help me is there any patch is missing or some runtime engine problem.

Thanks in advance
0 Kudos
Message 1 of 3
(3,127 Views)
Hello,

So, you have an executable that run correctly on one machine, and incorrectly on another machine. From this, it seems like there must be something different between the two machines.

Are the operating systems the same on both machines? Which versions of CVI and the CVI runtime engine are running on the machines?
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 3
(3,114 Views)
The error seems to indicate that the program is not able to load the CVI automation library DLL (cviauto.dll) on that machine. Make sure you distribute that DLL to the machine either using the Distribution Kit or by manually copying it over to the system or application folder.
0 Kudos
Message 3 of 3
(3,100 Views)