How to call a doc/view architecture from an activex
I'm trying to load a SDI architecture from an activeX. I created a CSingleDocTemplate object in the InitInstance() of my COleControlModule object.
In a method of my control, I called OpenDocumentFile on the DocTemplate and then InitialUpdateFrame. It seems to work fine until I exit IE4.... the DocManager and others stuffs don't seem to be destroyed.
How can I do it properly ??????
Re: How to call a doc/view architecture from an activex
Hi,
The article "Designing ActiveX Components with the MFC Document/View Model" in April 97 Microsoft Interactive Developer might be of help to you.
http://www.microsoft.com/mind/backissuestop.htm
-Rama.