Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2004

Tip: Looking for answers? Try searching our database.

Visual C++ Toolkit 2003 and multi-threaded runtime libraries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ney André de Mello Zunino - 13 May 2004 05:51 GMT
Hello.

I gladly learned yesterday that Microsoft was making the Visual C++
Toolkit 2003 available for free. Today, I downloaded and installed it
and went on to try building some simple applications. I quickly found
out that the toolkit does not come with the multi-threaded versions of
the runtime, such as the one I needed to build a bare-bone SDL sample.
Does anyone know why they have chosen to not include them and if there
is anything one can do to cope with this problem and be able to build
applications that require MT runtime?

Thank you,

Signature

Ney André de Mello Zunino

Carl Daniel [VC++ MVP] - 13 May 2004 14:48 GMT
Ney Andr? de Mello Zunino wrote:
> Hello.
>
[quoted text clipped - 6 lines]
> is anything one can do to cope with this problem and be able to build
> applications that require MT runtime?

Why didn't they include everything?  Since they do plan to continue selling
Visual Studio, they couldn't just give you everything with the free tools.
The MT versions of the CRT, along with MFC and ATL didn't make the cut.
FWIW, I agree - I'd rather see them release it with the MT static CRT and
leave out the single threaded and DLL versions.

-cd
Ronald Laeremans [MSFT] - 13 May 2004 21:04 GMT
Hi,

See the console output I pasted in below. The VC toolkit does support /MT
(it does not support /MD).

Ronald Laeremans
Visual C++ team

Setting environment for using Microsoft Visual C++ 2003 Toolkit.
(If you have another version of Visual Studio or Visual C++ installed and
wish
to use its tools from the command line, run vcvars32.bat for that version.)

Thank you for choosing the Visual C++ Toolkit 2003!  Get started quickly by
building the code samples included in the "Samples" directory.  Each sample
includes a short whitepaper discussing the Visual C++ features, and a batch
file for building the code.

Type "cl /?" for brief documentaion on compiler options.

Visit http://msdn.microsoft.com/visualc/using/documentation/default.aspx for
complete compiler documentation.

C:\Program Files\Microsoft Visual C++ Toolkit 2003>cd\tmp

C:\tmp>notepad t.cpp

C:\tmp>cl /MT t.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3052 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

t.cpp
Microsoft (R) Incremental Linker Version 7.10.3052
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:t.exe
t.obj

C:\tmp>t

C:\tmp>
<<<<<

> Hello.
>
[quoted text clipped - 8 lines]
>
> Thank you,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.