re: Just your opinion about MFC and C++.NET



Visual C++ .NET 8.0 has some great new features that will probably pull you to C++. Most notably is our new Winforms/MFC integration.

Basically, all the Winforms/MFC integration comes from a CWinformsView (which is a type of CView). This allows you to keep *all* of your existing MFC code (which will still work just the same), but then port individual dialogs to .NET Winforms one at a time! :)

Nikola Dudar posted a great MFC/Winforms integration sample at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=987021bc-e575-4fe3-baa9-15aa50b0f599&displaylang=en

It will be a somewhat tough port to go from VC6.0 to 8.0, but once you've done that, and gotten it all building with /clr support, you'll be all set. It's a lot better than a complete rewrite, anyhow. Don't throw away your code!

-ATR-
-----Original Message-----
From: Tony Johansson
Posted At: Saturday, October 22, 2005 7:10 AM
Posted To: microsoft.public.dotnet.languages.vc
Conversation: Just your opinion about MFC and C++.NET
Subject: Just your opinion about MFC and C++.NET


Hello!

Some information to be able to have a change to answer the question.
Assume I have a large system developed in MFC.
In this system we have only C++ code so no other language exist.
This system is 10 year old.

I just want your opinion about porting this system.
Assume it should be ported should it be to C++.net or C#.net.

I just want to know the advantage or dissadvantage between C++ and C# if you
have any idea.
I know the syntax is vary similar between C++, C# and Java.

//Tony
.



Relevant Pages

  • RE: How to do the equivalent of a .net framework panel
    ... I agree with Ajay and Jim's opinion, there is no such panel object in MFC ...
    (microsoft.public.vc.mfc)
  • Re: MFCs dead, long live MFC.
    ... requirement for a conventional document/view application, MFC still ... wins in that respect (in my opinion of course). ... could you please give one example of a shell extension application? ...
    (microsoft.public.vc.mfc)
  • Re: is MFC
    ... application my opinion is that MFC or ATL would be great platforms to ... programmer more control, creates tighter code (which translates often into ... available for quick UI and client software work. ...
    (microsoft.public.vc.mfc)
  • Re: Just your opinion about MFC and C++.NET
    ... If the program you're describing uses MFC to do document/view and makes ... your program to managed code that are not necessarily performance restricted ... and/or where you want to use .NET functionality. ... If you use MFC ISAPI, um, my opinion, is that you shouldn't these ...
    (microsoft.public.dotnet.languages.vc)
  • Re: A COM DLL without calling CoCreateInstance
    ... "Tony Johansson" wrote in message ... > Is the reason that the MFC hide the call to CoCreateInstance because ... MFC tends to hide all sorts of things. ...
    (microsoft.public.win32.programmer.ole)