Share via

How create Access instance using ACEDAO on office 2016?

Anonymous
2016-03-29T08:24:43+00:00

Hello All,

I want to create Access Instance using ACEDAO  on access 2016 (64 Bit) on window 10(64 Bit).

code snipt is give below.

File path is

#import "C:\Program Files\Common Files\microsoft shared\OFFICE16\ACEDAO.dll" \

    rename_namespace("ACEDAO") rename("EOF","adoEOF")

using namespace ACEDAO;

ACEDAO::_DBEnginePtr DBEngPtr;

HRESULT h =  DBEngPtr.CreateInstance(__uuidof(ACEDAO::DBEngine));

Using ACEDAO , Access Instance is not created.

How create Access instance using ACEDAO ?

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 2016 (64 bit) using ACEDAO.

Thanks.

***Post moved by the moderator to the appropriate forum category.***

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2017-02-24T13:50:38+00:00

    Hi KM,

    have you solved your problem?

    P.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-04-07T13:07:38+00:00

    document

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-03-30T03:02:40+00:00

    visual c++(MFC) in visual studio 2010.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-03-29T13:59:50+00:00

    What programming language are you using?

    Was this answer helpful?

    0 comments No comments