If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > ODBC driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-03, 04:15
lagranzh lagranzh is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
ODBC driver

Hello All,

I am writing an ODBC driver. It is not a unicode driver and it is complaint to ODBC version 2.5.

I’ve met a problem with call to SQLBindParameter.

My test application fails on the call:
SQLBindParameter(hstmt, 1, SQL_PARAM_INPUT, SQL_C_WCHAR, SQL_WVARCHAR,4, 0, buff, 0, &len);

with error:
"[Microsoft][ODBC Driver Manager] SQL data type out of range"

ODBC manager fails BEFORE calling this function from the driver.

The same call with SQL_C_CHAR and SQL_VARCHAR works fine.
The same call to Access’ odbc driver works fine.

Can any one help me, please ?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On