12-10-2017 10:18 AM
Hello,
I am trying to do deploy a code to a realtime Target from CVI, but getting some DLL errors. Before going to the details, here are the system details
When attempting to deploy the code the following error messages were shown.
after clicking continue in the above dialog, following error appears.
The error on build output says "MSVCP100.dll (also MSVCR100.dll) cannot be copied to target because it could not be found"
if trying to use some daqmx functions, the following error also appears.
I have verified that MSVCP100.dll, MSVCR100.dll and nicaiu,dll are present in the Windows/System32 folder.
what could be the problem? The RT system is fine though when simple codes are deployed.
12-24-2017 07:08 PM - edited 12-24-2017 07:09 PM
The MSVCP100.dll and MSVCR100.dll in the system folder are not usable for the Pharlap ETS system. Microsoft Visual C runtime library depends on Windows features (including low level undocumented APIs) that the Pharlap ETS system never could support.
Instead NI licensed the Visual C runtime library from Microsoft and created their own version of it for the Pharlap ETS systems. But in order to get that you do need to install the actual NI ETS system and the necessary runtime support functions.
You should be able to select in NI MAX the target and there the software tab and then add additional software to install. From there select the according Microsoft Visual C runtime support.
12-25-2017 11:17 AM
Hi Rolf,
Many thanks for your comments
.
The MS visual C runtime support (2008 & 2010) is already installed on the target (through MAX). But no luck.
Let me know if anything else could be done.
Regards
Deepu