http://bugs.winehq.org/show_bug.cgi?id=22874
--- Comment #8 from Barry Bird birdfamily715@googlemail.com 2010-05-26 11:54:16 --- (In reply to comment #6)
I'm not seeing your failure. I did:
- 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'.