Windows Form Controls in MFC Container
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I have managed to Host (C#)Windows Froms Control in MFC Application. MFC Application is Dialog based application where i did "Insert ActiveX Control" on a dialog and i am able to see the Control on Dialog.When i execute Program it runs fine. Problem is after that when i Close Development Environment (VC++(6.0) IDE)and open it agian,it gives error "The ActiveX Control can not be instantiated" "The ActiveX Control MyControl.MyControl1 Failed to initialize properly" And in Design environment it shows Blue background on my control.But when i run it, it runs fine. It is very annoying ,every time i closes and opens the IDE error is shown. Can anybody give some advice on this. Thanks TusharM.