Re: Why SQLBindCol can not get back the c string length.

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: "Hu, Ming (Ivan)" <huming(at)lucent(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Why SQLBindCol can not get back the c string length.
Date: 2006-07-24 10:54:40
Message-ID: 20060724105440.GA20640@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> 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.

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Hu, Ming (Ivan) 2006-07-24 11:06:20 Re: Why SQLBindCol can not get back the c string length.
Previous Message noreply 2006-07-24 10:49:16 [ psqlodbc-Bugs-1000681 ] Error when using ODBC driver with Microsoft Access