為什么我在使用AfxOleInit()(ADO中),總提示 AfxOleInit沒有定義?
uj5u.com熱心網友回復:
#include <afxdisp.h>
::AfxOleInit();
AfxOleInit
BOOL AFXAPI AfxOleInit( );
#include <afxdisp.h>
Return Value
Nonzero if successful; 0 if initialization fails, possibly because incorrect versions of the OLE system DLLs are installed.
Remarks
Initializes the OLE DLLs.
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/281466.html
標籤:工具平臺和程序庫
上一篇:QT生成軟體輸入法不能用
