When creating a DLL; What type of CRT should I attach to?

In the windows; There are two options for referencing a CRT:

  • Multithreaded Static Link
  • Multithreaded dynamic link

Can someone shed light on what is best here? Should I bind “statically” to a CRT or make a dynamic link?

If I make a dynamic link and I write a program that uses my DLL + another third-party DLL (which makes a static link to CRT), is this a problem?

+3
source share
1 answer

, DLL . , EXE DLL . ++ (, std::string) DLL-, . , CRT. , /MD, DLL- CRT. CRT. /MT , , .

/MT , . , , EXE. DLL. COM-, , CRT. .

+4

All Articles