Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Simple questions

Simple questions

Scheduled Pinned Locked Moved Managed C++/CLI
c++question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lord_Vader
    wrote on last edited by
    #1

    Hello everybody, I am a newcomer and I would like to ask: What is the relation between MFC and C++/CLI? At first I was interested in MFC but I figured out that programming with C++/CLI is a lot easier.Is it necessary to learn MFC to make a decent application?Can I use both MFC and C++/CLI to make a programm, or there are other C++/CLI libraries that I can use instead of MFC?

    J 1 Reply Last reply
    0
    • L Lord_Vader

      Hello everybody, I am a newcomer and I would like to ask: What is the relation between MFC and C++/CLI? At first I was interested in MFC but I figured out that programming with C++/CLI is a lot easier.Is it necessary to learn MFC to make a decent application?Can I use both MFC and C++/CLI to make a programm, or there are other C++/CLI libraries that I can use instead of MFC?

      J Offline
      J Offline
      Jun Du
      wrote on last edited by
      #2

      I'll try to keep my answers simple:

      Lord_Vader wrote:

      What is the relation between MFC and C++/CLI?

      There really isn't any relation between the two. Depending on how you look at it, but MFC is a class library that wraps up Win32 API. Also, it is a Windows programming model that supports document-view architecture. On the other hand, C++/CLI is the CLI extension of C++; it is a language. The .NET Framework 2.0 built on C++/CLI has provided some libraries, but it doesn't have any mature architecture yet (as MFC does).

      Lord_Vader wrote:

      Is it necessary to learn MFC to make a decent application?

      No, you can build decent applications without MFC.

      Lord_Vader wrote:

      Can I use both MFC and C++/CLI to make a programm,

      To some degree, yes, but it usually creates unnecessary complexity.

      Lord_Vader wrote:

      or there are other C++/CLI libraries that I can use instead of MFC?

      .NET Framework does have such libraries as GDI+, DirectX, etc. It also has primitive event model to help. However, .NET Framework lacks a Window programming model/architecture like MFC yet. At the current state, .NET has barely set up a generic programming model, but it evolves quickly. I expect to see more support from future versions of .NET. Hope this answers your questions.:) - It's easier to make than to correct a mistake.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups