How to identify the dependency of Microsoft Access Database Engine 2016 Redistributable 64 bit with cpp source code?

Ankith Vinod 0 Reputation points
2025-03-03T05:03:47.58+00:00

I am working on a C++ application that interacts with Microsoft Access Database and need to determine whether it depends on Microsoft Access Database Engine 2016 Redistributable 64.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,875 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Minxin Yu 13,001 Reputation points Microsoft External Staff
    2025-03-03T06:27:41.75+00:00

    Hi,

    Check the connection string provider Microsoft.ACE.OLEDB.16.0.

    distinguish the architecture by registry.
    32bit:

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Access Connectivity Engine
    

    64bit:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Access Connectivity Engine
    

    You can also check the loaded DLLs of the current program with API EnumProcessModules, GetModuleFileNameExA .

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.