Multithreaded vs Multithreaded DLL

  • Thread starter Thread starter pradyumna
  • Start date Start date
P

pradyumna

In Project settins - C/C++ - Code Generation,
what is the difference between the option
"Multithreaded" and "Multithreaded DLL".
I understand that on selecting multithreaded option,
single and multithreaded applications can both use that
dll, but what about multithreaded DLL option.
Thanks
 
Hi,

As far as I remember, this has to do with how the C++ Runtime is referenced.
"Multithreaded" means that the static (.lib) version of the CRT will be
statically linked with your application. "Multithreaded DLL" means that the
resultant EXE or DLL will be dependent on a DLL containing the CRT (most
likely the fabulous msvcrt.dll).

P.S. I believe this question will be best answered in a C++ newsgroup.
 
I always built my apps multithreaded DLL


Dmitriy Lapshin said:
Hi,

As far as I remember, this has to do with how the C++ Runtime is referenced.
"Multithreaded" means that the static (.lib) version of the CRT will be
statically linked with your application. "Multithreaded DLL" means that the
resultant EXE or DLL will be dependent on a DLL containing the CRT (most
likely the fabulous msvcrt.dll).

P.S. I believe this question will be best answered in a C++ newsgroup.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

pradyumna said:
In Project settins - C/C++ - Code Generation,
what is the difference between the option
"Multithreaded" and "Multithreaded DLL".
I understand that on selecting multithreaded option,
single and multithreaded applications can both use that
dll, but what about multithreaded DLL option.
Thanks
 
Back
Top