LPDISPATCH CMUSHclientDoc::Open(LPCTSTR FileName) { //CDocument * pDoc = App.m_pWorldDocTemplate->OpenDocumentFile (FileName); CDocument * pDoc = App.OpenDocumentFile (FileName); if (pDoc) return pDoc->GetIDispatch (TRUE); return NULL; } // end of CMUSHclientDoc::Open