Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

nicppaiu.dll missing. can not run the program

I have compiled my program using Measurement Studios 8.0 on Visual Studios .NET 2003 in VC++.

THe program runs fine (both in Debug & Release mode) on the machine where Measurement Studios 8.0 is installed. But when I port the release version to any other PC I get the message

"This application has failed to start because nicppaiu.dll was not found. Re-Installing the application may fix this problem"

I have already installed the NI-DAQmx/ VI Logger drivers on the PC where I am getting this error.

Can you tell me the reason of this error and how to solve it?

Thanks.
0 Kudos
Message 1 of 6
(6,033 Views)
You must include the following Merge Module for that dll dependency - NIVcppDAQmxSupport.msm.
 
This should solve your issue.
 
Jeff
 
 
0 Kudos
Message 2 of 6
(6,021 Views)
how do i do that ?
0 Kudos
Message 3 of 6
(6,016 Views)
Hello,
 
In your distribution project (vdproj) you will need to right click on the project in the Solution Explorer. Here you will select "Add Merge Module".  This should open a folder that has the merge module from the earlier post already in it. Select that MSM to add it to your project.
 
Regards,
Jeff
0 Kudos
Message 4 of 6
(6,007 Views)
Jeff,

I am using VC++ in  VS .NET 2003 environment. I could not find the distribution project explicitly in SOlutions Explorer.

0 Kudos
Message 5 of 6
(5,998 Views)
Hello,
 
What I thought you meant when you said "Port" was that you were using a Distribution project to move it to other machines.  Therefore you have two options to proceed.
 
1)  Copy the nicppaiu.dll from the system folder on your machine to the system folder on another machine you are "Porting" to.
 
2)  Add a project to your solution that is a Setup project.  Then add the output of your application to this project and add the MSM discussed earlier.  This will create a MSI that can be used to install your application on multiple machines (it still requires a NI-DAQmx install).
 
There is a good topic in our help named "Deploying Measurement Studio Applications" that tells you everything you need to know.
 
Regards,
Jeff
0 Kudos
Message 6 of 6
(5,993 Views)