xs2ahmed
November 28th, 2005, 05:20 AM
Hi,
Is it possible to Use a .Net control in a Visual C++ windows dialog,..
if so, How..?
Many thanks
Ahmed
Is it possible to Use a .Net control in a Visual C++ windows dialog,..
if so, How..?
Many thanks
Ahmed
|
Click to See Complete Forum and Search --> : .Net/Managed Control in Visual C++ xs2ahmed November 28th, 2005, 05:20 AM Hi, Is it possible to Use a .Net control in a Visual C++ windows dialog,.. if so, How..? Many thanks Ahmed cilu November 30th, 2005, 04:19 PM It is possible to mixed managed and unmanaged code. However, it is not recommended. Take a look at the gcroot template. class foo { public: gcroot<String*> str; foo() {} }; darwen December 1st, 2005, 12:11 AM Why would you want to do this ? The UI is usually all managed or native : all .NET framework controls have their equivalents in MFC so there's no need for you to have a .NET control in a dialog. If you want to write managed code you should be using Windows Forms and not MFC. Darwen. codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |