Re: Why SQLBindCol can not get back the c string length. - Mailing list pgsql-odbc

From Hu, Ming (Ivan)
Subject Re: Why SQLBindCol can not get back the c string length.
Date
Msg-id 31C0F08B0D18D511ACC800508BAE7B4714581BCE@ci0026exch001u.bj.lucent.com
Whole thread Raw
In response to Why SQLBindCol can not get back the c string length.  ("Hu, Ming (Ivan)" <huming@lucent.com>)
Responses Re: Why SQLBindCol can not get back the c string length.
List pgsql-odbc
The application is working with unixODBC driver manager on solaris.
psqlODBC version is 07.03.0100, and unixODBC version is 2.2.11,
Do you think is that possible caused by unixODBC driver manager used?

Thanks&Regards,
Ivan

> I mean after calling SQLFetch(), the value could not be gotten.

What psqlODBC version are you using? Does the psqlODBC DLL from
http://www.geocities.jp/inocchichichi/psqlodbc/index.html
solve your problem?

If the problem persist after using the newest DLL (from URL above)
please send us the mylog output.

Regards,

Luf

> > Why I can not get the actual length from StrLen_or_IndPtr,the last
> paramter
> > of SQLBindCol(). The value of it always keep the input one.
>
> When you want to get the value? You can't get it after SQLBindCol() call.
> Please read the specification at:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/od
> bcsqlbindcol.asp
>
> If I misunderstand your notice please correct me.

pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: Why SQLBindCol can not get back the c string length.
Next
From: Ludek Finstrle
Date:
Subject: Re: Why SQLBindCol can not get back the c string length.