473,811 Members | 2,714 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mix MSVCRT.DLL and MSVCPRT.DLL ?

Hi

I know it's not a good idea to use both msvcrt.lib and msvcrtd.lib in your
project, and the same goes for msvcprt.lib and msvcprtd.lib.
But is it ok to use both msvcrt.lib and msvcprt.lib? Or both msvcrtd.lib and
msvcprtd.lib?

Bye
Chris
Nov 16 '05 #1
1 3062
Chris wrote:
Hi

I know it's not a good idea to use both msvcrt.lib and msvcrtd.lib in
your project, and the same goes for msvcprt.lib and msvcprtd.lib.
But is it ok to use both msvcrt.lib and msvcprt.lib? Or both
msvcrtd.lib and msvcprtd.lib?


Yes, that's perfectly normal. In fact, msvcprt.dll itself uses msvcrt.dll,
so you'll normally have both.

-cd
Nov 16 '05 #2

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

Similar topics

0
2325
by: dbrown2 | last post by:
I'm having some trouble using kbhit inside the editor enviroments. I'm using win2000 with Python2.3 and win32all v157 versions. Any pointer on how this should be handled would be appreciated. Is there another non-blocking way to detect a key press? Here's the code that is causing the trouble. If I run this by double-clicking then it works as expected. But if I run from IDLE or PythonWin it basically never returns. msvcrt.kbhit()...
0
3433
by: Ron Adam | last post by:
Yes, another newbie question. :-) When I run the following from idle, the msvcrt.getch() function always returns 255 and it doesn't wait for a key press. It also displays the key on the screen when it should not. import msvcrt while 1:
4
5133
by: Baga | last post by:
Our product is compiled with /MD switch, so it uses MSVCRT.DLL But as every system configuration that we support includes this file anyway, we do not actually redistribute it, instead we use the one which is already present. However, when we compile with /MD switch on .NET 2003, MSVCR71.DLL is used instead, and it is not required to be present in system already. This means, that if we switch to .NET, we will have to redistribute...
1
1892
by: Michael | last post by:
Hi! I've developed a simple game that needs to be compiled as a multithreaded dll. I've read that since I use this runtime-library my applications will need MSVCRT.DLL at runtime. Is it possible to perform static linking with MSVCRT.lib or do I have to ship MSVCRT.DLL together with my .exe? /Michael
0
1457
by: bluter | last post by:
I have a problem with some VC++ (v5 sp3 compiled in debug mode) server component which perfrom Data Acces. These have been in production on NT4.0 and w2k. However when we try to use them on Server 2003 we only get partial functionality. So far we have noticed that when the components are returning large set of data that they fail. The following errors are entered in the Event Log and point to msvcrt.dll and oleaut32.dll. In this...
2
7061
by: Angus | last post by:
I have this link error: msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char::basic_string<char,struct std::char_traits<char>,class std::allocator<char(class std::basic_string<cha r,struct std::char_traits<char>,class std::allocator<char const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@ Z) already defined in...
7
3440
by: sturlamolden | last post by:
This question has been asked many times, and last time I was accused of spreading FUD. So now I will rather propose a solution. The reason for the problem is as follows: The binary installer for Python built by te python.org team is compiled with Microsoft Visual Studio 2003. It is linked with the C runtime msvcrt71.dll. The copyright to msvcrt71.dll is owned by Microsoft, and it is not an integral part of the Windows operating system....
18
81298
by: =?Utf-8?B?RGF2aWQ=?= | last post by:
I have a VC++ / .NET 2.0 solution built using VS 2005 SP1 under XP. Everything has been working well there over the past year. I have recently starting porting the app to Windows Vista (since it currently will not execute properly there). I installed VS 2005 SP1 and the hot fix SP for Vista on my Windows Vista system and have rebuilt the entire solution there with everything working well. This solution also builds a setup package that...
11
20833
by: Dick Moores | last post by:
Windows XP Pro, Python 2.5.1 import msvcrt while True: if msvcrt.kbhit(): key = msvcrt.getch() if key == 'Enter' do something Is there a way to catch the pressing of the 'Enter' key?
0
9727
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6889
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
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 we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.