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 3rd Party API's

Windows Forms and 3rd Party API's

Scheduled Pinned Locked Moved .NET (Core and Framework)
c++csharpwinformsjsonquestion
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.
  • R Offline
    R Offline
    robasmith
    wrote on last edited by
    #1

    Please excuse my ignorance on this whole .NET thing but I guess everyone in this field eventually gets around to it... From what I understand, Windows Forms are the next generation of MFC designed for use in a .NET, managed code environment. Is that correct? Does this mean I have to write managed code to use 3rd party api's that are built on Windows Forms (i.e., Dundas Chart, Gauge and Diagram products)? Or, can I continue to write unmanaged code and still utilize Windows Forms based api's in C++ code? In other words, can I use the Dundas products in unmanaged C++ code? Thanks in advance! Bob

    D 1 Reply Last reply
    0
    • R robasmith

      Please excuse my ignorance on this whole .NET thing but I guess everyone in this field eventually gets around to it... From what I understand, Windows Forms are the next generation of MFC designed for use in a .NET, managed code environment. Is that correct? Does this mean I have to write managed code to use 3rd party api's that are built on Windows Forms (i.e., Dundas Chart, Gauge and Diagram products)? Or, can I continue to write unmanaged code and still utilize Windows Forms based api's in C++ code? In other words, can I use the Dundas products in unmanaged C++ code? Thanks in advance! Bob

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      If the component is a managed code class library, then no you can't use it directly from unmanaged code. You'd have to go through a COM to get at the managed classes, if those classes are exposed to COM. Exposing .NET Framework Components to COM[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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