Why am I in the use of AfxOleInit () (ADO), always prompt AfxOleInit is not defined?
I want to use ADO in CApp: : InitInstance () used in AfxOleInit initialized () is always prompt in undefined identifiers
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.
CodePudding user response: