LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MSVCRT.dll

In trying to create the averaging example referencing an external dll in a VI, I receive an error that "This application has failed to start b/c MSVCRT.dll was not found" after i close the "configure" dialog after specifying the path to myshared.dll. I've searched my computer and cannot find MSVCRTD anywhere. Can someone tell me what this does and where i might find it?
0 Kudos
Message 1 of 3
(3,457 Views)
I believe that MSVCRT stands for MicroSoft Visual C Run Time. So this must be the run time library for Visual C programs. There is MSVCRT and a MSVCRTD library file in Program Files\Microsoft Visual Studio\VC98\Lib. The DLLs should be in the Windows\System32 folder (I use XP). I have Visual Studio installed on my system, however I believe that the Windows operating system contains these DLLs even without having Visual Studio installed. Maybe you search Microsoft website and find them. If you do, put them in the System32 folder.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(3,457 Views)
nbort;

To the best of my knowledge, the "D" in "MSVCRTD" stand for "Debug". When you compile an application in Microsoft VC++, it first uses "debug" dll files that facilitates debugging your application. "Debug" dll are bigger than regular dlls. Once you finish your application and you know it work as expected, you need to re-compile it as a "release" application.

As stated by tbob, that file is part of Microsoft's VC++. Probably you can just copy the dll from a computer with VC++, however if it depends on other "D" dlls, you may run into all sort of troubles. My suggestion will be to recompile the external dll as the release version (to do that in VC++, make sure you have the "Build" toolbar open. Change "Active configuration" from Win32 Debug" to Win3
2 Release" and recompile.)

Regards;
Enrique Vargas
www.visecurity.com
www.vartortech.com
Message 3 of 3
(3,457 Views)