473,398 Members | 2,427 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,398 software developers and data experts.

Is C++ in .NET still the same MFC as visual studio 6.0

Hello!

If you want to create an GUI application using a tool in visual studion 6.0
you are forced to use MFC.

I just want to know about the developing GUI application in C++ visual
studio .net. Is it still the same old MFC you use or it it completely
different more similar to C#?

//Tony
Nov 17 '05 #1
7 1573
Tony Johansson wrote:
Hello!

If you want to create an GUI application using a tool in visual studion 6.0
you are forced to use MFC.

I just want to know about the developing GUI application in C++ visual
studio .net. Is it still the same old MFC you use or it it completely
different more similar to C#?

//Tony


Tony:

You can develop an MFC application in Visual Studio.NET just as you
could in VC6. It's just that the compiler has been upgraded to VC7 (VS
2002)or VC7.1 (VS 2003) or VC8 (VS 2005). This has nothing to do with
the .NET framework. The main difference is that the IDE of Visual Studio
itself is very different from the one that came with VC6. Many MFC
developers vastly preferred the old IDE, and are sticking with VC6 for
that reason.

David Wilkinson
Nov 17 '05 #2
David,

I used to feel that way, but I switched to 7.1 over a year ago and I don't
find it bad at all. It was difficult to get used to where things were at
first, but I think that they are not going back to the 6.0 interface so you
will have to eventually catch up :o)

Tom

"David Wilkinson" <no******@effisols.com> wrote in message
news:uY*************@TK2MSFTNGP12.phx.gbl...
You can develop an MFC application in Visual Studio.NET just as you could
in VC6. It's just that the compiler has been upgraded to VC7 (VS 2002)or
VC7.1 (VS 2003) or VC8 (VS 2005). This has nothing to do with the .NET
framework. The main difference is that the IDE of Visual Studio itself is
very different from the one that came with VC6. Many MFC developers vastly
preferred the old IDE, and are sticking with VC6 for that reason.

David Wilkinson

Nov 17 '05 #3
>Many MFC developers vastly preferred the old IDE, and are sticking with
VC6 for
that reason.

Because they grew up with it and learning the new stuff is scary and it
appears you would lose a lot of time doing the transition;
But the people that finally set the step towards the .NET way of doing
rarely want to go back to the dinosaur thing called MFC.

But since VB 6 and VC++ 6 are not available to buy anymore, people are
forced to jump to the .NET way of doing and now less and less people are
using the old way of doing things, except for the hardcore ones. I believe
that from job-security viewpoint, it is very interesting to start learning
..NET technology. Use VC++ 2005 so this way you can still create old style
programs and the .NET way or a mix of both. It will probably take a few
more years before .NET is standard programming accepted by all programmers,
but you need a lot of time to learn the way of the .NET programming,
especially the security related stuff that every programmer should know
about. We are in the age of secure programming and .NET is a good step into
that direction.

Nov 17 '05 #4
Olaf Baeyens wrote:
Many MFC developers vastly preferred the old IDE, and are sticking with


VC6 for
that reason.


Because they grew up with it and learning the new stuff is scary and it
appears you would lose a lot of time doing the transition;
But the people that finally set the step towards the .NET way of doing
rarely want to go back to the dinosaur thing called MFC.

But since VB 6 and VC++ 6 are not available to buy anymore, people are
forced to jump to the .NET way of doing and now less and less people are
using the old way of doing things, except for the hardcore ones. I believe
that from job-security viewpoint, it is very interesting to start learning
.NET technology. Use VC++ 2005 so this way you can still create old style
programs and the .NET way or a mix of both. It will probably take a few
more years before .NET is standard programming accepted by all programmers,
but you need a lot of time to learn the way of the .NET programming,
especially the security related stuff that every programmer should know
about. We are in the age of secure programming and .NET is a good step into
that direction.


Olaf:

Nobody is forced to use .NET because VC6 is not available any more. I
hope MS does not believe we programmers are so gullible that naming the
product Visual Studio.NET will cause us to start programming in .NET if
we don't want to.

I use both VC6 (actually VC5) and VC7.1 every day, and I think almost
every MFC programmer would agree that the old IDE was much better for
writing MFC programs. Not a deal-breaker, but true.

I am still amazed that MS had the nerve to abandon the VB6 developers in
Visual Studio.NET, and I am most thankful that the same thing didn't
happen to MFC. Thank you, Bill, thank you.

Interestingly, a lot of VB6 developers were most upset by the fact that
they were not able to program VB6 using the new IDE; MFC developers were
upset because they could not use the new C++ compiler with the old IDE!
But it seems that both these battles are lost...

David Wilkinson

Nov 17 '05 #5
Tony,

In Visual Studio .NET 2005 you can use MFC to develop a GUI app or you
can use C++/CLI to develop a GUI using Windows Forms (which is what is
used for C#).

Nov 17 '05 #6
> Nobody is forced to use .NET because VC6 is not available any more. I
hope MS does not believe we programmers are so gullible that naming the
product Visual Studio.NET will cause us to start programming in .NET if
we don't want to.
Now, but if you look at job-security, I believe it is wise to also start
learning about .NET things.
Not because MFC is dead, but companies might prefer .NET programs because
you can create the program much faster and you could still use C++ for
performant functions.
Another important part is that if you have a big group of people, then one
can program in C# because his background was C#, the other one in VB.NET and
another one in C++/CLI and all modules can be mixed without any problems.
(except for case senstivity). So no one is forced to learn an unknow
language.
I use both VC6 (actually VC5) and VC7.1 every day, and I think almost
every MFC programmer would agree that the old IDE was much better for
writing MFC programs. Not a deal-breaker, but true.
MFC programs yes. But not everything resides around MFC only.
What about the XML thing? It is harder to implement this without the .NET
framework.
I am still amazed that MS had the nerve to abandon the VB6 developers in
Visual Studio.NET, and I am most thankful that the same thing didn't
happen to MFC. Thank you, Bill, thank you.
Too many programs depend on MFC, me to, a lot of code still is unmanaged C++
I use here and I still am hooked with MFC, but I want to get rid of it as
soon as possible since the MFC dll's give a big overhead for the stuff that
I actually use. My managed VC++ project doesn't like static MFC compiled so
I am stuck with the dll version. :-( I hope the VC++ 2005 has this fixed?
Interestingly, a lot of VB6 developers were most upset by the fact that
they were not able to program VB6 using the new IDE; MFC developers were
upset because they could not use the new C++ compiler with the old IDE!
But it seems that both these battles are lost...

Yes, in the beginning. We have a VB programmer here too, and he got upset
that he had to write more code and less drag and drop functionality.
But now since he uses the VS2005 beta, he is very happy with it, and I don't
think he wants to go back again.
Nov 17 '05 #7
I have been using MFC nearly full time for the almost 2 years I've been
using 7.1 and it is as good as any MFC ever and perhaps better because of
some of the rewrites and new classes. I understand that there are some
compelling new classes for MFC programmers in 2005 too. People often ask if
MFC is dying and it certainly doesn't look like it to me.

Tom

<el*************@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Tony,

In Visual Studio .NET 2005 you can use MFC to develop a GUI app or you
can use C++/CLI to develop a GUI using Windows Forms (which is what is
used for C#).

Nov 17 '05 #8

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

Similar topics

1
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
1
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
0
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK,...
2
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
3
by: Johnson | last post by:
I'm not sure if this is an IIS 5.1 issue or ASP.NET issue, or Visual Studio 2008 issue -- thus posting to 3 groups. Please don't be offended. The problem I'm encountering is that Visual Studio...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.