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