[freetds] ODBCConfig fails to create a new DSN with libtdsodbc.so

Sebastien FLAESCH sf at 4js.com
Mon Jan 14 04:24:59 EST 2008


Oups...

I missed #ifdef UNIXODBC (ran configure with --with-odbc-nodm).

Never mind, should work now...

Still a doc about ODBCINSTGetProperties() is welcome...

Seb

Sebastien FLAESCH wrote:
> Working on the int ODBCINSTGetProperties(HODBCINSTPROPERTY hLastProperty) function...
> 
> I can't manage to make ODBCConfig use libtdsodbc.so to setup a new DSN, I shows me a message box with:
> 
> "Could not construct a property list for (FreeTDS_0_65)."
> 
> I am using libtdsodbc.so as setup library:
> 
> [FreeTDS_0_82]
> Description             = FreeTDS ODBC 0.82
> Driver          = /opt3/dbs/tds/0.82/lib/libtdsodbc.so
> Setup           = /opt3/dbs/tds/0.82/lib/libtdsodbc.so
> 
> Is this correct?
> 
> Have tested with unixODBC 2.2.9 and different versions of FreeTDS (0.64, 0.82, 0.83).
> 
> I this supposed to work?
> 
> Anyone knows where to find a doc about this ODBCINST* API?
> 
> Thanks
> Seb
> 
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> 



More information about the FreeTDS mailing list