Problem with SQLDriverConnect()
am 23.11.2007 22:18:05 von pennaHi,
I hope this is the right place to submit a bug report for myodbc3.dll.
This happens in a program I wrote that tries to connect with MySql
server through MySql ODBC Driver. A call to SQLDriverConnect() raises
an exception C0000005 (EXCEPTION_ACCESS_VIOLATION).
Here are some details:
1. The server is MySql Community Server version 5.0 running on the same
machine as the client program.
2. The ODBC driver is myodbc3.dll version 3.51.22.0. The same problem
was happening with version 3.51.19.0.
3. The operating system is Windows 2000 05.00 Build 02195 Service Pack
4. The connection string is "dsn=World Sample for MySql User". This DSN
succeeds when tested during configuration with the ODBC Data Source
Administrator. It connects to the "World" sample database for MySql.
5. The client program succeeds to connect with the same DSN when the
call to SQLDriverConnect() is replaced with a call to SQLConnect().
6. The PATH environment variable includes the bin directory of the MySql
installation.
7. This is the section of ODBC trace with the call to SQLDriverConnect():
testsqlkit 10 274-8d4 ENTER SQLDriverConnectW
HDBC 02A51348
HWND 000F027C
WCHAR * 0x02A19B98 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x02A19B98
SWORD 2
SWORD * 0x00000000
UWORD 1
8. The same client program works correctly with OpenLink MySql ODBC
driver, connecting to the same database.
9. The client program is written in C++ and compiled with Microsoft's
Visual Studio .NET 2003.
If you need any additional information, please let me know.
Thanks!
Luiz E. P. Fernandes
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org