Measurement Studio for VC++

Showing results for 
Search instead for 
Did you mean: 

How to make an VISA programe in Visual Studio2017 without explicitly install NI-VISA?




I want to make a program to control instrument. I'd like to include the visa32.dll and so on , in my install package. And do not want to bother custom to install NI-VISA first.


How could I make it happen?


Thanks a lot in advance.

0 Kudos
Message 1 of 3

I found the program will automatically call the C:\Windows\SysWOW64\NiSpyLog.dll.  Then if I remove the folder of C:\Program Files (x86)\IVI Foundation, the program will fail to control the instrument.



0 Kudos
Message 2 of 3

The times where a software component consisted of exactly one DLL and nothing else are long gone. And that means that the component provider needs to provide an installer too for such software, which makes sure everything is put in the right place for the actual OS. While you might want to just use a single DLL that is not an option here (unless you want to go back to NI-VISA 4.x or similar but good luck with getting that to run on anything after Windows 2000 😁).

Advances in technology sometimes require sacrifices and this is one of them.

Rolf Kalbermatter
Averna BV
0 Kudos
Message 3 of 3