Skip to Content.
Sympa Menu

freetds - [freetds] FreeTDS, unixODBC, and libodbc++

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Joel Apter" <japter AT ibxtech.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] FreeTDS, unixODBC, and libodbc++
  • Date: Thu, 12 Jun 2003 12:41:53 -0400

Ok, now that I have unixODBC working, I'm having trouble with libodbc++.
Right now I am trying to run a very simply query (select one column from a
table). My program catches this exception:
Error setting pointer statement option: [unixODBC][Driver Manager]Invalid
attribute/option identifier

Here is the last few lines of my tdsdump file:
2003-06-12 12:19:46.791094 processing result tokens. marker is a0(COLNAME)
2003-06-12 12:19:46.791159 processing result tokens. marker is a1(COLFMT)
2003-06-12 12:19:46.791213 processing result. type = 56(int), varint_size 0
odbc:SQLColAttributes: fDescType is 1
SQLColAttributes: copying 6 bytes, len = 6, cbDescMax = 255
odbc:SQLColAttributes: fDescType is 2
odbc:SQLColAttributes: colinfo->column_type = 56, colinfo->column_size = 4,
*pfDesc = 4
odbc:SQLColAttributes: fDescType is 4
odbc:SQLColAttributes: fDescType is 5
odbc:SQLColAttributes: fDescType 5 not catered for...
odbc:SQLColAttributes: fDescType is 3

I'm not sure if this means anything. What I am wondering is, is this an
issue with freetds, unixodbc, or libodbc++ (or all of them, or none??)? Has
anyone actually written a c++ application usually a similar driver/driver
manager setup? Am I going to have to go back to writing C code with those
nasty ODBC functions? Thanks for any info.

-Joel




Archive powered by MHonArc 2.6.24.

Top of Page