http://bugs.winehq.org/show_bug.cgi?id=22874
Summary: ADO fails to connect to Jet database via OLE DB Product: Wine Version: 1.1.42 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: birdfamily715@googlemail.com
Created an attachment (id=28274) --> (http://bugs.winehq.org/attachment.cgi?id=28274) Source of C program
Wrote a small test program in C to create the "ADODB Connection" object and then invoked the Open method on it with a connection string specifying the Jet engine and a database file. The ADO Connection objects seems to be created although there are some error messages, but the Open fails with an unspecific exception. The Wine installation was set up in Kubuntu 10.04, installing MDAC28 and Jet40 using winetricks and the Jet driver registry settings mentioned in http://wiki.winehq.org/NativeOdbc DCOM98 was not installed initially, but this was repeated with DCOM98 installed (winetricks again). There were fewer errors, but the Open still failed. These error messages were: err:ole:CoGetClassObject class {2206cdb0-19c1-11d1-89e0-00c04fd7a829} not registered err:ole:CoGetClassObject no class object {2206cdb0-19c1-11d1-89e0-00c04fd7a829} could be created for context 0x1 err:ole:CoGetClassObject class {c8b522cf-5cf3-11ce-ade5-00aa0044773d} not registered err:ole:CoGetClassObject no class object {c8b522cf-5cf3-11ce-ade5-00aa0044773d} could be created for context 0x1 These two GUIDs relate to interfaces in oledb32.dll, but registering the DLL with wine regsvr32.exe oledb32.dll seems to make no difference. Is it the context? Well, it works in Windows. Attaching source file and logfile.