[Bug 22874] ADO fails to connect to Jet database via OLE DB

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 26 11:54:17 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22874





--- Comment #8 from Barry Bird <birdfamily715 at googlemail.com>  2010-05-26 11:54:16 ---
(In reply to comment #6)
> I'm not seeing your failure. I did:
> 
> 1. Starting with a clean Wine prefix, and winetricks from SVN, execute
> winetricks -q mdac28 jet40.
> 2. Copy the Northwind sample database to the directory where the compiled
> ado1b.exe file is, naming it stock.mdb.
> 
> I get (snipping out irrelevant "no class object" messages):
> 
> ADODB Object created
>  CallMethod entered
>  GetIDsOfNames returned
>  Invoke 'Open' succeeded
> ADODB connection opened
>  CallMethod entered
>  GetIDsOfNames returned
>  Invoke 'Close' succeeded
> Close down
> 
> So the sample should be working as intended if the redists are installed
> properly.

OK, it's my mistake.  Now it works for me too.  I think what I was doing wrong
is running winetricks from ~/folder rather than ~/.wine-ole/drive_c/...  If I
had thought about it for half a second, I would have realised that that can't
work. I've deleted and re-worked the wine prefix.  MDAC must now be properly
installed and the program works for me too. Not only that small program, but my
much more extensive programs, and for ADOX as well as ADO.  So, thank for your
help.   Bug 5841  "ADO no worky" would seem to be solved, although there may
still be a problem with VB6 interfacing, but ADO is definitely 'worky'.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list