
Start Office-Programm like Word within an ATL Dialog
Word.Document is not an ActiveX control, it is an Active Document Server.
There is an MFC-based sample of Active Document container (MFCBIND) and pure
API-based one (Framer). No ATL sample, unfortunately, so you'll have to
adapt one of those two.
--
With best wishes,
Igor Tandetnik
Quote:
> We created an Dialog with pure ATL and tried to implement an Container to
> start an Office-Programm.
> The Container is based an the CAxWindow Class.
> We tried the following call and got a lot of errors:
> hr = m_axOleWindow.CreateControl(L"Word.Document.6");
> Can anybody give us an sample ( without MFC ) how this can work ?
> thanks a lot.
> Rolf & Manfred