LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL Error Using CVI & Teststand 2019

Hello,

 

I am trying to run a LabWindows/CVI dll into Teststand and it showing me the following error: "Could not Load DLL or External Library". I am using Teststand and CVI 2019 tools. I have the dependencies that it needs but it's still throwing this error. It is working on another computer without any issues and I haven't rebuilt the dll. Is there some sort of setting issue in Teststand that is causing this?

 

Thanks,

Shreya

0 Kudos
Message 1 of 5
(205 Views)

Not sure if TestStand is available as 64-bit but could it be that one of them is 64-bit and the other is 32-bit? If you create a 32-bit DLL the calling process needs to be 32-bit too. Dame for 64-bit. Caller and callee need to be the same bitness.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(189 Views)

Hey Rolf,

 

That's what I thought initially as well so I made sure and both the Teststand and LabWindows/CVI are 32-bit. 

0 Kudos
Message 3 of 5
(166 Views)

I see that all the libraries listed as missing are system components: could it be that you are running on some reduced-configuration Windows system like IoT Enterprise that has been tailored excluding those components?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 5
(150 Views)

Hi, 

Couple of things to try:

 

1. Do you have the correct version CVI Runtime engine installed?

2. Use Depends (Dependency Walker (depends.exe) Home Page) to find out what DLL is missing. 

 

Regards, 

Anand Jain

NI

0 Kudos
Message 5 of 5
(135 Views)