问题描述
嗨专家
我想使用ACE DAO创建访问实例 在窗口8上访问2013(64位)。
使用DAO我使用此方法成功创建实例:
#import" C:\\ \\ Program Files(x86)\ Common Files \ Myscoft Shared\DAO\dao360.dll" \
rename_namespace(" DAO")rename(" EOF"," adoEOF")
using namespace DAO;
DAO :: _ DBEnginePtr DBEngPtr ;
HRESULT h = DBEngPtr.CreateInstance(__ uuidof(DAO :: DBEngine));
但我想使用ACEDAO创建实例。为此我试试 此方法:
#import" C:\Program Files \Common Files \ microsrosoft shared\OFFICE15 \ ACEDAO.dll" \
rename_namespace(" DAO")rename(" EOF"," adoEOF")
using namespace DAO;
DAO :: _DBEnginePtr DBEngPtr;
HRESULT h = DBEngPtr.CreateInstance(__ uuidof(DAO :: DBEngine));
但是没有创建Access实例。
如果我使用
#import" C:\Program Files(x86)\ Common Files \ Myscoft Shared\DAO\dao360.dll" \
rename_namespace(" DAO")rename(" EOF"," adoEOF")
然后Access实例成功创建。
如何创建Access使用ACEDAO的实例?
用于访问旧文件格式(.mdb)我正在使用DAO创建访问实例。
对于新文件格式(.accdb )我想使用ACEDAO创建访问实例。
我也遵循以下链接:
http://msdn.microsoft.com/en- us / library / office / ff965871%28v = office.14%29.aspx#DataProgrammingWithAccess2010_DirectDAOExample
http://social.msdn.microsoft.com/Forums/vstudio/en-US/ fec5cbf5-8892-4b78-b7bb-16c16f7c7115 / error-loading-type-librarydll-exception-from-hresult-0x80029c4a-typeecantloadlibrary?forum = vbgeneral
我正在使用命名空间来避免歧义对于  ACEDAO 使用命名空间ACEDAO,其定义在
acedao.tlh和acedao.tli
我不明白如何在Office 2013上创建访问实例(64位) )使用ACEDAO。
谢谢。
Hi Experts
I want to create Access Instance using ACE DAO on access 2013 (64 Bit) on window 8.
Using DAO I successfully create instance using this method :
#import "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" \
rename_namespace("DAO") rename("EOF","adoEOF")
using namespace DAO;
DAO::_DBEnginePtr DBEngPtr;
HRESULT h = DBEngPtr.CreateInstance(__uuidof(DAO::DBEngine));
But I want to create Instance using ACEDAO. for this I try this method :
#import "C:\Program Files\Common Files\microsoft shared\OFFICE15\ACEDAO.dll" \
rename_namespace("DAO") rename("EOF","adoEOF")
using namespace DAO;
DAO::_DBEnginePtr DBEngPtr;
HRESULT h = DBEngPtr.CreateInstance(__uuidof(DAO::DBEngine));
But Access Instance is not created .
If I use
#import "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" \
rename_namespace("DAO") rename("EOF","adoEOF")
Then Access Instance successfully create.
How create Access instance using ACEDAO ?
For access old file format (.mdb) I am creating access instance using DAO.
For new file format (.accdb) I want to create access instance using ACEDAO.
I also follow these link :
http://msdn.microsoft.com/en-us/library/office/ff965871%28v=office.14%29.aspx#DataProgrammingWithAccess2010_DirectDAOExample
http://social.msdn.microsoft.com/Forums/vstudio/en-US/fec5cbf5-8892-4b78-b7bb-16c16f7c7115/error-loading-type-librarydll-exception-from-hresult-0x80029c4a-typeecantloadlibrary?forum=vbgeneral
I am using namespace to avoid ambiguity and for ACEDAO use namespace ACEDAO whose defination is in
acedao.tlh and acedao.tli
I am not understand how create access instance on office 2013 (64 bit) using ACEDAO.
Thanks.
这篇关于在Windows 8上的Office 2013(64位)上的ACE DAO连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!