Hi
Waht is the difference beween specifying /mdd(multi threaded debug dll) and /mtd(multi threaded debug) in visualstudio??
Hi
Waht is the difference beween specifying /mdd(multi threaded debug dll) and /mtd(multi threaded debug) in visualstudio??
/mtd
requires a static link, to produce a .exe
that's larger but not dependent on the DLL (that comes with VS2005) containing the runtime library.
In general if your application is small and does not contain multiple DLLs or EXEs you may prefer to statically link to the runtime libraries. This will simplify the distribution process since you will not need to install the runtime libraries.
If you have multiple DLLs or EXEs, since each EXE and DLL will be larger when statically linked as Alex stated, you may prefer to use dynamic linking to the runtime libraries making your application smaller.