Home > Back-end >  MFC to read and write the word document
MFC to read and write the word document

Time:04-30

Why am I in the use of AfxOleInit () (ADO), always prompt AfxOleInit is not defined?

CodePudding user response:

 # include & lt; Afxdisp. H> 
: : AfxOleInit ();

AfxOleInit
BOOL AFXAPI AfxOleInit ();

#include

The Return Value

Nonzero if successful; 0 if initialization fails, possibly because incorrect versions of the OLE system DLLs are installed.

Few

Initializes the OLE DLLs.
  • Related