[Bug 1373] ODBC connection failure
Wine Bugs
wine-bugs at winehq.com
Sat Jun 28 10:44:35 CDT 2003
http://bugs.winehq.com/show_bug.cgi?id=1373
------- Additional Comments From winebug at flonet.net 2003-28-06 10:44 -------
Bug comments restored from Gmane.org:
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).
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list