10-07-2013 12:44 AM
I am getting an error while running my CVI program : the program can't start because msvcr100.dll is missing from your computer. Try reinstalling the program to fix this problem.
Please help me out
10-07-2013 02:34 AM
Hello phanisri1987,
Could you elaborate? What kind of CVI program are you trying to run? Are you running a program installed from a distribution that you or someone else created? Are you running the program in debug mode, from CVI?
Best regards,
Nelu F. || National Instruments.
10-07-2013 06:13 AM
What kind of CVI program are you trying to run?
I have a project which I added few lib files in to it. When I tried to run after adding them, I am getting the above mentioned error.
Are you running a program installed from a distribution that you or someone else created?
No.
Are you running the program in debug mode, from CVI?
Yes
But I am able to see the particular msvcr100.dll in the "C:\Windows\System32" Directory. I have attached the error screenshots also.
Regards
phani
10-07-2013 06:26 AM
Hi phani,
Could you please send us a list of libs you added? What configuration are you using?
If you find it easier, you could attach the project (or a stripped version of your project, that exhibits this behavior).
Thanks!
Nelu F. || National Instruments.
10-07-2013 06:02 PM
msvcr100.dll is part of Microsoft's redistributable run-time engine. If you are using any functions, or have included any .libs/.h for functionality that is not incuded in CVI, rather are sourced from Microsoft, then you have a dependancy for this redistributable run-time. You can download the 32 bit version here or the 64 bit here. It will say Visual C++ 2010 redistributable package, but it also works with ANSI C.
Note: Sometimes you can just look in the SDK included in the CVI dev environmnet for full-dev kits, and include windows.h and it will solve the problem.
10-07-2013 06:15 PM
Try putting it into your project directory. If that works, then it should also work from your windows\system directory. You may also be able to use the information here... It explains how to create CVI compatible .libs from existing .h and .dll from third party (i.e. Microsoft)