using .NET created ActiveX controls in MFC apps  
Author Message
gosalyn





PostPosted: Visual C++ General, using .NET created ActiveX controls in MFC apps Top

hi,

i want to insert an ActiveX control in my MFC application, and i want to know the advantages and disadvantages when i create the ActiveX control in .NET and when i create it in MFC. And also, i haven't yet come across an ActiveX control that has been created in .NET and used in an MFC application. All of the .NET created ActiveX controls were being used inside web browsers. I wonder if it's impossible or hard to use .NET created ActiveX controls in MFC applications.

thanks in advance for your help...



Visual C++8  
 
 
Peter Ritchie





PostPosted: Visual C++ General, using .NET created ActiveX controls in MFC apps Top

From the application's point of view, a .NET activeX control is just another ActiveX control. You'd use that ActiveX control in MFC as you would any other ActiveX control. The draw-back of using .NET controls is that you can only have one .NET version running in your application at a time; e.g. you can't have a .NET 1.1 control AND a .NET 2.0 control loaded...