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++ / December 2004

Tip: Looking for answers? Try searching our database.

Do you .NET framework to run a C++2005 application?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Johnny - 28 Dec 2004 22:07 GMT
I am curious to find out whether the .NET framework is actually needed to run
a C++ 2005 application. I know in other languages such as C# and VB.NET, it
is a must or else it wont run, but for some reason I get  the feeling this is
not the case (at least not all the time) with C++.NET.

Also, what is ATL and it's purpose?
Fredrik Wahlgren - 28 Dec 2004 22:13 GMT
> I am curious to find out whether the .NET framework is actually needed to run
> a C++ 2005 application. I know in other languages such as C# and VB.NET, it
> is a must or else it wont run, but for some reason I get  the feeling this is
> not the case (at least not all the time) with C++.NET.
>
> Also, what is ATL and it's purpose?

You will only need the .NET framework if you create managed code. ATL is a
framework that lets you create COM dll's among other things. It's something
that you should use if you make something like an Office COM add-in.

/ Fredrik
Carl Daniel [VC++ MVP] - 28 Dec 2004 22:13 GMT
>I am curious to find out whether the .NET framework is actually needed to
>run
[quoted text clipped - 3 lines]
> is
> not the case (at least not all the time) with C++.NET.

It's needed if you use it, not needed if you don't use it.  That's one of
the key advantages of C++ - the ability to generate a native (not .NET)
application.

> Also, what is ATL and it's purpose?

ATL is a class library primarily for creating COM components (although it
does branch out into other areas too).  You didn't ask, but WTL is a
windowing library (written by MS) built on top of ATL that you can get from
wtl.sourceforge.net.

-cd
Johnny - 28 Dec 2004 22:29 GMT
Hmmm. OK, that makes sense. Thanks for your help.

One other question: I am an expert in C# and am considering venturing to
C++, using the 2005 beta version. I design + develop a lot of n-tier
applications in .NET for web, consoles, etc.  What advice can anyone give for
someone in my position?

> >I am curious to find out whether the .NET framework is actually needed to
> >run
[quoted text clipped - 16 lines]
>
> -cd
Fredrik Wahlgren - 28 Dec 2004 22:56 GMT
> Hmmm. OK, that makes sense. Thanks for your help.
>
> One other question: I am an expert in C# and am considering venturing to
> C++, using the 2005 beta version. I design + develop a lot of n-tier
> applications in .NET for web, consoles, etc.  What advice can anyone give for
> someone in my position?

It seems as if VS 2005 will be much easier to use if you want to migrate C#
code to C++. In fact, I think there may be programs that will convert the
code automatically. The articles that I have read suggest that VC++ is the
preferred .NET language in VS 2005.

/ Fedrik
Sylvain Lafontaine - 30 Dec 2004 16:20 GMT
My advice: stay in C# if you have never ventured into C++ before; otherwise
you will lose your time battling with bugs that will take you years to
understand.

S. L.

> Hmmm. OK, that makes sense. Thanks for your help.
>
[quoted text clipped - 28 lines]
>>
>> -cd

Rate this thread:







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.