Software: VS2012 vc + +
V software platform Settings: change the default platform Win32 to X64, because my other libraries are in production, X64 platform cannot be compatible with the Win32 msado15. DLL library,
On the Internet to find the msado15. DLL win764 many versions, all trial, all not line,
The situation is as follows:
1, a header file add:
# import "C: \ Program Files \ (x86) Common Files \ System \ ado \ msado15 DLL" no_namespace rename (" EOF ", "rsEOF")
2,
M_pConnection. CreateInstance (__uuidof (Connection));
Breakpoint here, tip:
+ m_pConnection {0 x00000000036819f0 & lt; With information, not for msado15. DLL loading any symbol & gt; } _com_ptr_t & lt; _com_IIID & lt; _Connection, & amp; _GUID_00001550_0000_0010_8000_00aa006d2ea4 & gt;>
The inside of the member variables:
- __vfptr msado15 DLL! 0 x000007fee2368cc0 (load symbol for other information) {msado15 DLL! 0 x000007fee2265a20, msado15 DLL! 0 x000007fee2265d40,... } void * *
,
If separate use win32 platform, running without any problems, also don't know how to proceed now...
Reference articles:
1, https://bbs.csdn.net/topics/391836965? Page=1
2, http://www.accessoft.com/article-show.asp? Id=11158
Reference files:
1, https://download.csdn.net/download/guang911/6830343
CodePudding user response:
Reference files:3, http://www.accessoft.com/article-show.asp? Id=315
CodePudding user response:
Reference files:4, https://www.cnblogs.com/happyhaoyun/p/4196086.html
CodePudding user response:
# import "C: \ Program Files \ (x86) Common Files \ System \ ado \ msado15 DLL" no_namespace rename (" EOF ", "rsEOF")
Switch to
# import "C: \ Program Files \ Common Files \ System \ ado \ msado15 DLL" no_namespace rename (" EOF ", "rsEOF")
CodePudding user response: