473,473 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MT runtime library

In the file settings for one of the .cpp files in a Win32 unmanaged DLL project, the runtime library it is using by default is Multithreaded Debug. Is there any point in using multithreaded library if it isn't multithreaded DLL? Or does it need this to support multiple clients at once?
There isn't any COM involved

Thanks.
Nov 17 '05 #1
4 1830
>In the file settings for one of the .cpp files in a Win32 unmanaged DLL project, the runtime library it is using by default is Multithreaded Debug. Is there any point in using multithreaded library if it isn't multithreaded DLL? Or does it need this to support multiple clients at once?
There isn't any COM involved.


If your application doesn't use multiple threads, there's no need for
it to use the multi-threaded library. However, unless you have any
strict performance requirements, you might as well stick with the
multi-threaded library.

Dave
Nov 17 '05 #2

"David Lowndes" <da****@example.invalid> wrote in message
news:iv********************************@4ax.com...
In the file settings for one of the .cpp files in a Win32 unmanaged DLL project, the runtime library it is using by default is Multithreaded Debug.
Is there any point in using multithreaded library if it isn't multithreaded
DLL? Or does it need this to support multiple clients at once?There isn't any COM involved.


If your application doesn't use multiple threads, there's no need for
it to use the multi-threaded library. However, unless you have any
strict performance requirements, you might as well stick with the
multi-threaded library.


What if your DLL is ever going to be used by an MFC application via the
DLL's lib file?

Thanks,

Jeff F
Nov 17 '05 #3
It's never going to be used by anything other than the exported function.
And probably only ever by one app.

"Jeff F" <no*@anywhere.com> wrote in message
news:uI**************@tk2msftngp13.phx.gbl...

"David Lowndes" <da****@example.invalid> wrote in message
news:iv********************************@4ax.com...
In the file settings for one of the .cpp files in a Win32 unmanaged DLL project, the runtime library it is using by default is Multithreaded Debug. Is there any point in using multithreaded library if it isn't multithreaded DLL? Or does it need this to support multiple clients at once?There isn't any COM involved.


If your application doesn't use multiple threads, there's no need for
it to use the multi-threaded library. However, unless you have any
strict performance requirements, you might as well stick with the
multi-threaded library.


What if your DLL is ever going to be used by an MFC application via the
DLL's lib file?

Thanks,

Jeff F

Nov 17 '05 #4
>What if your DLL is ever going to be used by an MFC application via the
DLL's lib file?


MFC apps have needed to use the MT library for some versions now, but
the basic rule of thumb is that if the DLL will be used in a MT
situation, then it's wise to use the MT run-time.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lumpierbritches | last post by:
Thank you in advance for any and all assistance, it is greatly appreciated. I have a Universal MSDN and AC2003 Runtime, but I'm used to AC97 Setup Runtime. How do you setup AC2003 for runtime...
5
by: Gerhard Menzl | last post by:
When creating a Managed C++ DLL using the Visual Studio 7.1 Solution Explorer (by selecting Add New Project and then either choosing Class Library (.NET) or Windows Control Library (.NET)), the IDE...
8
by: Subra Mallampalli | last post by:
Hi, I am trying to use <runtime> section within the web.config file. However, the contents of the <runtime> section seem to be ignored. What am i missing here? Is <runtime> section not used by...
1
by: Boni | last post by:
Dear all, were can I get an info about a Run-Time library to to use. What are advantages of using Multithreaded or Multithreaded dll. Thanks a lot, Boni
1
by: Pascalus | last post by:
Hi there! I have a problem with the delete operator to destroy a (char*). It used to work since today. I don't know what I may have changed in the project and/or the solution (probably in the...
33
by: larpup | last post by:
I checked all my references prior to compiling. The mdb or mde works perfectly with full version of A2003. When running on a computer with RunTime i receive an error that a reference is broken...
21
by: Paul Edwards | last post by:
I have written a public domain (not GPL etc) C runtime library (PDPCLIB) for DOS, OS/2 and MVS. You can see it here: http://sourceforge.net/projects/pdos/ I now wish to port it to Win32, so...
6
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, If I am using Visual Studio 2005 to build a C# Class Library (COM), it is as default dependent on .Net Runtime Framework 2.0 when running? If I am using Visual Studio 2003 to...
7
ADezii
by: ADezii | last post by:
The next series of Tips will involve the Microsoft Scripting Runtime Library (Scrrun.dll). This Library is, in my humble opinion, one of the most useful and practical Libraries ever created. With the...
2
by: mohi | last post by:
hello every one , this may be very basic question and may be a bit out of topic ,, can anyone please tell me what are the functions of runtime library and are they the one which create the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.