VC calling Word troubleshooting?

xiaoxiao2021-03-06  80

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.

转载请注明原文地址:https://www.9cbs.com/read-107413.html

New Post(0)