AdoDB in Wine x64

Questions about Wine on Linux
Post Reply
sinsin
Newbie
Newbie
Posts: 2
Joined: Tue Apr 01, 2025 4:11 am

AdoDB in Wine x64

Post by sinsin »

Hello

I have an application which is x64 and which is using ADODB connection via importing msado15.dll, like it is shown below:

Code: Select all

#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF", "ADOEOF")  rename("BOF","ADOBOF")

_ConnectionPtr con;

HRESULT HRR = con.CreateInstance(__uuidof(Connection));
I have wine 9.0~repack-4build3, a fresh x64 wineprefix, where I downloaded (from the Microsoft site) and installed MDAC 2.8 and Microsoft Access Runtime. However, when I run the program I got the hresult 0x80004002 (E_NOINTERFACE) on the con.CreateInstance call, which means that the class either is not registered, or cannot be created

Could you tell me what is the proper installation and settings order to make the ADO connection class be visible?
Post Reply