http://bugs.winehq.com/show_bug.cgi?id=1373
Summary: ODBC connection failure Product: Wine Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.com ReportedBy: tim.ruehsen@openmediasystem.de
With wine-20030317 (got it as rpm and srpm from SuSE) the calls to MFC DBase.Open(...) fails while it is working fine with SuSE wine-20020812 (rpm).
I am using unixODBC 2.2.2 with mySQL 3.23.52 drivers.
The application source is under control of my collegue and written with VC++/MFC. We made lots of tests, but did not get these lines working (with the newer wine version):
CDatabase DBase; char buf[128];
try { // This fails and a DB exception is thrown sprintf(buf,"ODBC;DSN=%.100s",DefaultConnect); DBase.Open(NULL,FALSE,FALSE,_T(buf),FALSE); }
e->m_strError gives something like (from german) 'Failed to connect to host'.
As strace shows, there is a connection, some data exchange and after that a connection shutdown.
After removing wine-20030317 and re-installion of wine-20020812 everything works well (again).
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1373. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.