Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert MFC project to ActiveX

Status
Not open for further replies.

goz

Programmer
May 7, 2001
2
SE
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??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top