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. .NET (Core and Framework)
  4. Windows Forms and MFC

Windows Forms and MFC

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++winformsquestion
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
    Late
    wrote on last edited by
    #1

    Can Windows Forms and MFC windows classes work together in the same project? Sorry, if this sounds stupid, I am new at .NET.

    S 1 Reply Last reply
    0
    • L Late

      Can Windows Forms and MFC windows classes work together in the same project? Sorry, if this sounds stupid, I am new at .NET.

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      Yeha, instead of C#, use MC++ with your MFC code. Late wrote: work together in the same project? Not really a problem I would say. You can have an assembly written with MC++ that mixes unmanaged and managed code. And then you just reference that assembly in your main project where the usual C# Windows forms code lives. Tom Archer and Nish have written a book about MFC and .NET. May be it's out by now. (Google is your friend.)


      RSS feed

      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