mfc读写word文档

m0_56478329 2021-04-29 02:03:37
为什么我在使用AfxOleInit()(ADO中),总提示 AfxOleInit没有定义?
...全文
1166 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
赵4老师 2021-04-29
  • 打赏
  • 举报
回复
#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.

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧