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

Home Posts Topics Members FAQ

How can I choose the VC Runtime Library

I'm using Visual C++ 2005 to build a lib.

I found that there were 4 runtime libraries in the VC2005, /MD, /MT, /
MDd, /MTd. Which one should I choose to ensure that my library can be
used by all the other /MD or /MT programs?

Thanks a lot!

Jun 21 '07 #1
1 1256
>I'm using Visual C++ 2005 to build a lib.
>
I found that there were 4 runtime libraries in the VC2005, /MD, /MT, /
MDd, /MTd. Which one should I choose to ensure that my library can be
used by all the other /MD or /MT programs?
It depends on what your library (I presume you mean it's a DLL)
interface uses.

If it relies on passing 'C' run-time/heap allocated parameters across
the DLL/EXE boundary, your only option is to use the DLL version of
the run-time. This will tie your users down to the same version of the
tools that you have. If your interface only passes plain old data
types, it doesn't particularly have a bearing - in which case I'd
probably use the static version unless I knew a close tie in with the
users of the library would always exist and they were shipping the DLL
run-time.

Dave
Jun 21 '07 #2

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

Similar topics

3
2005
by: Anders Borum | last post by:
Hello! I've come across a strange error that occurs, when you try to return a nodelist from a variable with a choose/where/otherwise statement. I'm not quite sure whether it's a bug or simply...
1
1683
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
3049
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
34535
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
1281
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
33
7352
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...
34
3632
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas...
7
8813
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
2228
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
7091
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...
1
6743
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2999
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
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1303
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 ...
1
564
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
185
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.