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. C / C++ / MFC
  4. My C++ MFC-app into a dll -> to be used in .NET app…

My C++ MFC-app into a dll -> to be used in .NET app…

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++comquestionhelp
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.
  • A Offline
    A Offline
    anderslundsgard
    wrote on last edited by
    #1

    I’ve mad an application (or apart of an app) in C++ that I’d like to use in .NET C# Windows Application. The thing I like to accomplish is to build some kind of component of my existing C++ app and expose some functions that I later can call from the C# app. The application I like to encapsulate can be seen ass a window (MFC CWnd in ny case). My fist question is if this is possible? If, then my second Q is How..? I’ve made som COM and ActiveX programming so I’m not totally new in this topic, but I really don’t where to start. I’m not expecting a total solution of my problem but Ideas where to start would be great. Articles about this would be great. (Have not found any of them myself…) _____________________________ ...and justice for all APe

    R 1 Reply Last reply
    0
    • A anderslundsgard

      I’ve mad an application (or apart of an app) in C++ that I’d like to use in .NET C# Windows Application. The thing I like to accomplish is to build some kind of component of my existing C++ app and expose some functions that I later can call from the C# app. The application I like to encapsulate can be seen ass a window (MFC CWnd in ny case). My fist question is if this is possible? If, then my second Q is How..? I’ve made som COM and ActiveX programming so I’m not totally new in this topic, but I really don’t where to start. I’m not expecting a total solution of my problem but Ideas where to start would be great. Articles about this would be great. (Have not found any of them myself…) _____________________________ ...and justice for all APe

      R Offline
      R Offline
      Rahim Rattani
      wrote on last edited by
      #2

      Try writing a managed wrapper. The following article tells how to write a managed wrapper for zlib library. See if this can help you. http://www.codeproject.com/managedcpp/mcppzlibwrapper.asp[^] Rahim Rattani Software Engineer, Matrix Systems (Pvt) Ltd., Karachi - Pakistan

      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