• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

MFC and win forms integration

Hi,

   I need to add a render area in my windows forms application. The application that forms the render area is a MFC application. Please let me know if this integration is possible and if it is where i can find more information regarding the same.

cheers!
0
apz42
Asked:
apz42
1 Solution
 
AaronReamsCommented:
It is possible to integrate the two if you make your MFC application into an ActiveX/COM control.  That way you can add it to a windows form application just as you would any other control.

MFC ActiveX Controls:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_activex_control_topics.asp

Adding MFC ActiveX Cotnrols to Windows Forms:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskAddingActiveXControlsToForm.asp

Hope this helps.
Aaron
0
 
apz42Author Commented:

Thanks! It solves my initial problem atleast!

cheers!
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now