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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Johnny said:
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
 
Johnny said:
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.

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
 
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?
 
Johnny said:
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
 
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.
 
Back
Top