Hi Elias,

> -----Original Message-----
> From: Elias Martenson [mailto:[EMAIL PROTECTED]]
[snip]
>      // value contains a byte array in a char * pointer.
>      // size is a size_t that contains the number of bytes
>      // in above mentioned byte array (approx 9000 in this
>      // test)
>      if( SQLBindParameter( statement, index, SQL_PARAM_INPUT,
>                            SQL_C_BINARY, SQL_BINARY, size,
>                            0, (void *)value, size, &status )
>               == SQL_ERROR ) {
>          // error handling code removed for clarity
>      }

This looks alright. However, which data types do you use for size and
status?

And which platform do you use? 64 bit?


Regards  Thomas



----------------------------------------------
Dr. Thomas K�tter
SAP DB, SAP Labs Berlin


SAP DB is open source. Get it!    www.sapdb.org 


 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to