Re: Is MFC finished? - Page 2
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 48

Thread: Re: Is MFC finished?

  1. #16
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Is MFC finished?

    Quote Originally Posted by maverick786us

    3) Stick to VC++ only, cuz there will always be the requirement of VC++ developers in today as well as future.
    Never stick in anything.
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  2. #17
    Join Date
    Sep 2002
    Location
    14 39'19.65"N / 121 1'44.34"E
    Posts
    9,815

    Re: Is MFC finished?

    Quote Originally Posted by maverick786us
    Why i am asking all this is because its always hard to switch on to something new and start from scratchwhen you are into it for more than 2 yrs
    Objection. I'm into C since 1984 now, into C++ since 1991, and I have been using MFC during the last 12 years. However, in my current project I use C# and the .NET 2.0 Framework (although it's still in Beta and will only be released two weeks from now), and we're already heading towards C#/.NET 3.0 / WinFX (WPF aka "Avalon", WCF aka "Indigo" etc.). So although I'm really deeply "into" MFC and it has been my favourite framework for writing GUI code on a daily basis for many years, when starting a new GUI app today I would never look back to MFC.

    In the IT world, you have to be flexible and willing to learn new technologies and paradigms every few years. You also have to understand when an era ends...
    I know, these might be critical statements in a VC++ / MFC forum. Again, I'm far from saying that MFC is dead. MFC code will still be around for a very long time, the MFC library itself is being developed further, and there will always be a need for developers proficient in C++ and MFC. But your career chances will be far better if you additionally embrace new technologies instead of ignoring them. Besides that, and as said elsewhere: The entire managed / unmanaged interop story is becoming more and more important, so being an expert in both worlds is a very good idea IMO.

  3. #18
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Is MFC finished?

    Nice speech [*applauding*]!
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  4. #19
    Join Date
    Jul 2005
    Posts
    767

    Re: Is MFC finished?

    BTW what about my question:
    Is it possible to combine the .NET program with Win32 API??

  5. #20
    Join Date
    Sep 2002
    Location
    14 39'19.65"N / 121 1'44.34"E
    Posts
    9,815

    Re: Is MFC finished?

    Quote Originally Posted by MrBeans
    BTW what about my question:
    Sorry, I had put you into the holding pattern... Please standby, I'll get back to your questions soon.

  6. #21
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Is MFC finished?

    Quote Originally Posted by MrBeans
    BTW what about my question:
    Is it possible to combine the .NET program with Win32 API??
    Once calling Win32 API is possible even from VB6 and older, why should be not possible from .NET/VB/C#?
    I have asked the dotnetgurus around me and they said: "possible" plus "ughh".
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  7. #22
    Join Date
    Jul 2005
    Posts
    767

    Re: Is MFC finished?

    oh thanks ovidiucucu, I did not think in that direction at all
    Anyway I am on standby waiting for gstercken reply.

  8. #23
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Is MFC finished?

    Quote Originally Posted by MrBeans
    oh thanks ovidiucucu, I did not think in that direction at all
    I know, I know. Just was shooting in the dark.
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  9. #24
    Join Date
    Sep 2002
    Location
    14 39'19.65"N / 121 1'44.34"E
    Posts
    9,815

    Re: Is MFC finished?

    Quote Originally Posted by MrBeans
    Please tell me one last thing gstercken. Do you accept that Win32 with MFC is the strongest kind of programming technique available and is even more powerful than .NET or anything else today?
    It depends on what you mean by "strong" and "powerful". If that means "getting most work done in a highly productive way with least possible coding and risk of errors", then certainly not. If, OTOH, by "powerful" you mean the ability to write low-level code which deals directly with processor registers or implement your own memory manager, then C++ is certainly more "powerful" (although MFC won't help you much here either). Just wondering: When was the last time you actually had to do this kind of things?

    Quote Originally Posted by MrBeans
    If so is it possible to combine Win32 with .NET like use an Win32 API to alter a control say in .NET.
    Of course, that's what interop is all about. The most common ways to do this is to either use COM interfaces (which you can directly call from managed code) or to use C++ (which is currently the only high-level language that lets you mix managed and unmanaged code).

    A few years ago, when all the world was talking about COM and ActiveX, I also adopted them (I had to, since projects at that time required it), although I have never been convinced of them. And although some of the concepts (especially the idea to use interfaces extensively) have survived and can be found in .NET today, diving so deep into that complex and clumsy technology has been a waste of time in the long run.
    When the Java hype started, I luckily managed to get almost completely around it (the most important stuff I lately did with Java was porting Java apps back to C++ / MFC, because customers didn't want to see Java code any longer in their projects for various reasons).
    However, C# (as a language) and .NET (both the CLR/CTS and managed code as a technology and the framework itself as a class library) feel completely different, and I predict them a great future. I'm really looking forward to reading these statements again 5-10 years from now... Let's see what the future brings!

  10. #25
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Is MFC finished?

    Quote Originally Posted by MrBeans
    Is it possible to combine the .NET program with Win32 API??
    It is, but as a rule of thumb try make calls to Win32API from your managed code only when absolutely necessary. The interop overhead can prove significant for the speed of your app.
    Last edited by cilu; October 27th, 2005 at 09:43 AM.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  11. #26
    Join Date
    May 2005
    Posts
    4

    Smile Re: Is MFC finished?

    OK. Cool Guys.

    Is MFC Finished?is the market is changed?

    These all questions come to software fields every day.Only as gstercken said "adapt to new things" is the only solution.

    "MFC has many different strong points compared to VB like owner-drawing etc."

    Upgrade urself and be smart . That's it..

  12. #27
    Join Date
    Oct 2005
    Posts
    14

    Re: Is MFC finished?

    I am working for more than 6 years in this field and I have seen work coming in all the times.

    Also some new companies are using MFC for their products too. They use the .net platform editor and use MFC.

    I guess its just a timepass debate. Nothing is going to happen to good old MFC which revolutionized the windows based development industry.

  13. #28
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Is MFC finished?

    As a little aside observation:
    All successful and good (successful doesn't always mean good so "and" is mandatory) programming languages creators (e.g. Kernighan, Ritchie, and Stroustrup) had beard at the moment of creation.
    The creator of C# had not.
    Well, we'll see... maybe there are just statistics...
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  14. #29
    Join Date
    Sep 2002
    Location
    14 39'19.65"N / 121 1'44.34"E
    Posts
    9,815

    Re: Is MFC finished?

    Quote Originally Posted by ovidiucucu
    All successful and good (...) programming languages creators (e.g. Kernighan, Ritchie, and Stroustrup) had beard at the moment of creation.
    The creator of C# had not.
    How about Turbo Pascal? Already way back then, Anders Hejlsberg had no beard...

  15. #30
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Is MFC finished?

    Quote Originally Posted by gstercken
    How about Turbo Pascal? Already way back then, Anders Hejlsberg had no beard...
    Well, well, well!...
    You have paid no attention or deliberately have ignored that mandatory "and".
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center