I'm trying to convert a large program written in MFC to an ActiveX component. The MFC-program uses the document / view -architecture with menus and toolbars.
I'm using VC++.
I have created an MFC ActiveX Control Wizard project and tried to follow a document to create a skeleton found on
where I used the ActivDoc file from the article. This class contained a class CActiveXDocControl that inherited from COleControl.
The classes that usually inherited from COleControl now inherits from CActiveXDocControl instead.
After that I added the original programfiles in the project but without connections between the skeleton and the original program.
It seemed that Toolbars and Menubars didn't work in ActiveX so I took them away from the project.
Now nothing works and I get lots of Assertion errors....
Is there anything that I've done wrong or is there something I forgot maybe??
I'm using VC++.
I have created an MFC ActiveX Control Wizard project and tried to follow a document to create a skeleton found on
where I used the ActivDoc file from the article. This class contained a class CActiveXDocControl that inherited from COleControl.
The classes that usually inherited from COleControl now inherits from CActiveXDocControl instead.
After that I added the original programfiles in the project but without connections between the skeleton and the original program.
It seemed that Toolbars and Menubars didn't work in ActiveX so I took them away from the project.
Now nothing works and I get lots of Assertion errors....
Is there anything that I've done wrong or is there something I forgot maybe??