473,322 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

removing msvcp80 dependency

Hi,
I wrote some network n multithreading code in pure c++, my exe compiles with
only 9k. But it requires msvcp80.dll & msvcr80 dlls to run on a different
machine. I want to build my exe such that I dont have to provide these dlls
with my exe. I know that size would increase but thats not a problem. I
beleive it should be somewhere in the project properties but i cant find it.

Thanks.

Ab.
Dec 28 '05 #1
5 4086
"Abubakar" <ab*******@gmail.com> wrote
I wrote some network n multithreading code in pure c++, my exe compiles
with
only 9k. But it requires msvcp80.dll & msvcr80 dlls to run on a different
machine. I want to build my exe such that I dont have to provide these
dlls
with my exe. I know that size would increase but thats not a problem. I
beleive it should be somewhere in the project properties but i cant find
it.

You're looking for /MT. It's under "C/C++" => "Code Generation" =>
"Runtime Library" in the IDE.

-hg
Dec 28 '05 #2
Hi Abubakar!
I wrote some network n multithreading code in pure c++, my exe compiles with
only 9k. But it requires msvcp80.dll & msvcr80 dlls to run on a different
machine. I want to build my exe such that I dont have to provide these dlls
with my exe. I know that size would increase but thats not a problem. I
beleive it should be somewhere in the project properties but i cant find it.


Just a small note:
W95 is not a supported target platform for VC8!

http://msdn2.microsoft.com/en-us/library/ms235435

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Dec 28 '05 #3
oh sorry I think I should have written 9 kilo bytes, I didnt mean windows 9*
:)

Ab.

"Jochen Kalmbach [MVP]" <no********************@holzma.de> wrote in message
news:O$**************@TK2MSFTNGP15.phx.gbl...
Hi Abubakar!
I wrote some network n multithreading code in pure c++, my exe compiles with only 9k. But it requires msvcp80.dll & msvcr80 dlls to run on a different machine. I want to build my exe such that I dont have to provide these dlls with my exe. I know that size would increase but thats not a problem. I
beleive it should be somewhere in the project properties but i cant find
it.
Just a small note:
W95 is not a supported target platform for VC8!

http://msdn2.microsoft.com/en-us/library/ms235435

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/

Dec 28 '05 #4
Thanks that worked.

Ab.

"Holger Grund" <ho**********@remove.ix-n.net> wrote in message
news:ek*************@TK2MSFTNGP09.phx.gbl...
"Abubakar" <ab*******@gmail.com> wrote
I wrote some network n multithreading code in pure c++, my exe compiles
with
only 9k. But it requires msvcp80.dll & msvcr80 dlls to run on a different machine. I want to build my exe such that I dont have to provide these
dlls
with my exe. I know that size would increase but thats not a problem. I
beleive it should be somewhere in the project properties but i cant find
it.

You're looking for /MT. It's under "C/C++" => "Code Generation" =>
"Runtime Library" in the IDE.

-hg

Dec 28 '05 #5
Hi Abubakar!
oh sorry I think I should have written 9 kilo bytes, I didnt mean windows 9*


Oh sorry... I misread your posting... ;-)

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Dec 28 '05 #6

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

Similar topics

3
by: Petri J. Riipinen | last post by:
Hi, I'm writing a largish (>60 projects) solution with VS.NET 2003 using VB.NET as my implementation language. I'm using NUnit and NUnit VS.NET-addin to implement unit tests for my code. ...
4
by: Guadala Harry | last post by:
I want to create a STATIC method that removes all items from the Cache. Questions: 1. Is a safe thing to do (any threading issues?) 2. Is the following code a good way to get the job done -...
4
by: tarunbajaj | last post by:
Hi all, I am inserting a key in HttpContext.Cache Some keys I am caching for multiple days. Out of these once a while I need to reset cache entry of specific key. I can do a lot to reset the...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
9
by: Brett Romero | last post by:
I have two projects in one solution - a library and executable. Each have a namespace such as: ROOT.myapp.Functional ROOT.myapp.UI However, each cannot reference the other. myapp.UI is...
1
by: =?Utf-8?B?SmFzb24gUmljaG1laWVy?= | last post by:
I came across a code sample in a book that I am reading that uses a dependency property. I looked at some of the documentation for dependency properties but, for some reason, the concept is not...
1
by: vincentt | last post by:
Hi, We code DLL's and so far it was done using VS6.0. We are planning to migrate the VS.NET 2005 and use the VS6 VC++ code which generated the DLL to VS 2005 VC++.NET. However we donot plan to...
4
by: kellygreer1 | last post by:
Sometimes at the end of a project you'll end up with unused Tables, Stored Procs, Functions, and Views. Since there is not something like a 'SELECT' trigger ... what is the best way for telling...
0
by: =?Utf-8?B?TmF0aGFuIEdsYXNzZXI=?= | last post by:
Hello, We have a program we are building with Visual Studio 2005 for x86. In the past we used Visual Studio 6, and there was no problem. With Visual Studio 2005, if we build the executable...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.