07-02-2010 08:12 AM
I am using the Call Library FUnction Node and sucessfully built my design. When I
moved it to a machine in our lab i got an error message that said "LabView:
LabView.exe - System Error Program can't start because MSVCP100D.dll is missing from
your computer. Try reinstalling the program to fix this problem".
After a little digging I found out that this is a missing Visual Studio dll not a missing
LabView dll. This makes sense since I don't have VS installed on the lab machine.
My question is: do I need to install Visual Studio (or some other compiler) if I want to
use the call library function node? If I make an .exe out of my design for production
will I still need VS installed?
07-02-2010 08:34 AM
msvcp100d.dll is part C++ runtime visual studio 2010.
07-02-2010 08:49 AM
Right (2nd paragraph). I'm trying to figure out if I need VS or some other compiler installed on any every machine
that I want to run my own c-code on, or is there a work-around. I'm hoping I don't need to install a compiler on
every machine. I'm not a SW guy so I don't understand all of the dependencies. I thought the dll for my code was
all that labview needed.
07-02-2010 10:37 AM
Probably you don't need VS 2010 installed, just the MSVC++ 2010 redistributable.
You can download it free of charge from Microsoft:
07-07-2010 09:24 AM
Thanks. I tried that, but it didn't work (seems like it should have). In the end, I had to install Visual Studio to get around the problem. I have a support ticket open since the NI repair feature didn't work. Installing VS on every production unit is not an option!
07-07-2010 10:50 AM
You have a support ticket open with Microsoft? I would hope you don't have one open with NI since your problem is completely unrelated to any NI hardware or software. Any NI repair option that you performed would of course, be a waste of time. If you did not create a correct distribution of your code and it's dependencies, calling your dll would fail with any language. I don't know if I can help with anything releated to Visual Studio but I would think that any Visual Studio expert would need to see your code. Posting your question to a Visual Studio forum would also seem to be a better option.
07-07-2010 12:25 PM
Interesting . . .
I dont' ahve a ticket open with MSFT, but given the reponse I received from NI support, I was under the impression that doing a repair should work. The repsonse from NI support is below. I'll try looking for a solution with MSFT.
Thanks
From NI support:
Chuck
MSVCP100D.dll is part of the microsoft visual C++ library, it is needed on
the back end of the Call Library Function Node to compile C++ code. This is
normaly installed with LabVIEW if it is not allready on your system. If you
are missing files you can just do a LabVIEW Repair to restore them and it
should only take a few minutes. Take a look at the knowledge base article
below and let me know if you have any questions.
How can I Repair my LabVIEW Installation?
http://digital.ni.com/public.nsf/allkb/FE6B641E86E55AF2862576DE00038001
Thank You
07-07-2010 12:28 PM
I stand corrected.