Multithreaded vs Multithreaded DLL

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
 
D

Dmitriy Lapshin [C# / .NET MVP]

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.
 
N

news.microsoft.com

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top