12-16-2024 01:42 PM
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
12-16-2024 05:07 PM - edited 12-16-2024 05:09 PM
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.
12-17-2024 08:01 AM
Hey Rolf,
That's what I thought initially as well so I made sure and both the Teststand and LabWindows/CVI are 32-bit.
12-18-2024 04:02 AM
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?
12-18-2024 11:29 AM
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