ODBC and FreeTDS and Wine

Hugh Jones snodge at doughnuts.co.uk
Mon Jan 14 14:54:10 CST 2002


Hi,

I have setup unixODBC and FreeTDS and I can connect fine to the database
using the isql tool, and the datasource appears in the config tool for
unixODBC, however, when I try to run the VB application, it asks to
choose a data source - there is nothing listed, except an option to view
more data sources. If you select the option to view more data sources,
wine closes the application with no errors that I could see. I have
logged the ODBC messages from wine and get the following (see below) -
does anyone know what I've done wrong?:

trace:odbc:MAIN_OdbcInit Initializing or Finalizing proxy ODBC:
409bb000,1,0x1
trace:odbc:MAIN_OdbcInit Loading ODBC...
trace:odbc:ODBC_LoadDriverManager 
fixme:psdrv:PSDRV_BITMAP_SelectObject stub
fixme:psdrv:PSDRV_BITMAP_SelectObject stub
fixme:psdrv:PSDRV_BITMAP_SelectObject stub
fixme:ole:CoRegisterMessageFilter stub
trace:odbc:SQLAllocEnv 
trace:odbc:SQLAllocEnv Returns ret=0, Env=8091f00
trace:odbc:SQLAllocConnect Env=8091f00
trace:odbc:SQLAllocConnect Returns ret=0, Handle 8092490
trace:odbc:SQLSetConnectOption 
trace:odbc:SQLSetConnectOption 
trace:odbc:SQLDriverConnect 
trace:odbc:SQLFreeConnect (Handle=8092490)
trace:odbc:SQLFreeConnect Returns 0
trace:odbc:MAIN_OdbcInit Initializing or Finalizing proxy ODBC:
409bb000,2,(nil)
trace:odbc:MAIN_OdbcInit Initializing or Finalizing proxy ODBC:
409bb000,3,(nil)
trace:odbc:SQLFreeEnv (Env=8091f00)
trace:odbc:SQLFreeEnv Returns 0
fixme:ole:CoRegisterMessageFilter stub
err:ole:CoUninitialize CoUninitialize() - not CoInitialized.
trace:odbc:MAIN_OdbcInit Initializing or Finalizing proxy ODBC:
409bb000,0,0x1
trace:odbc:MAIN_OdbcInit Unloading ODBC...

Cheers,

Hugh Jones





More information about the wine-users mailing list