I use VC to write Word's use, embed the current window via the ColedocobjectItem object, as shown below:
CLSID CLSID; IF (Failed (: Word.Document ", & clsid)) AFXTHROWMEMORYEXCEPTION ();
M_pcntritem-> CreateNewWItem (CLSID); m_pcntritem-> doverb (oleiverb_show, this);
Display error prompt information: "Establish an object failed. Please confirm that the object has been registered into the system.", And my Word has been installed into the system and runs normally.