Click to See Complete Forum and Search --> : How to call a doc/view architecture from an activex


Renaud BINSE
March 30th, 1999, 08:15 AM
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 ??????

April 5th, 1999, 12:38 PM
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.