PDA

Click to See Complete Forum and Search --> : Dependant on msvcrt.dll?


FantastichenEin
Nov 19th, 2001, 05:41 AM
I have written a program in VC++. How do I determine if msvcrt.dll is a dependency.
I need to be sure that it is going to run on any win32 machine, but I don't want to bundle the dll if i don't need to.

Thanks

CornedBee
Nov 19th, 2001, 08:15 AM
I think msvcrt is preinstalled with windows, but I'm not sure. Among the tools of VC++ is a dependency walker. I don't know how to use it though...

parksie
Nov 19th, 2001, 11:38 AM
Easy way to check - look at the project settings.

Under C++, there should be an option deciding whether to compile for Single Threaded or Multi Threaded (basically, if you choose multithreaded you MUST use the DLL, and the options tell you).

By default it doesn't require msvcrt.dll, but you can set it to use this and drop the final .exe size right down.