I think I found a bug on SQLIntervalMBS class, don't know if it's by MBS or SQLAPI++
When I set a SQLIntervalMBS value as a parameter, the Informix server throw an error. Take for example this command: dim con as new SQLCommandMBS(DBConnection, "insert into test_table values (:1)") con.param(1).setAsInterval(new SQLIntervalMBS(10)) con.Execute I get a SQLErrorExceptionMBS: ErrorClass: 3 NativeError: -11116 ErrorPosition: -1 ErrorMessage: HY003 [Informix][Informix ODBC Driver]Invalid application buffer type. and this is what Informix says about this error: -11116 Invalid application buffer type This IBM Informix ODBC error code is the same as SQLSTATE value HY003. The following functions can return this error code: SQLBindCol, SQLBindParameter, and SQLGetData. For SQLBindCol and SQLGetData, the argument TargetType was neither a valid data type nor SQL_C_DEFAULT. For SQLBindParameter, the value specified by the argument ValueType was not a valid C data type or SQL_C_DEFAULT. SACO Software and Consulting GmbH, Mühlgasse 5, D-97840 Hafenlohr Tel.: ++49 9391 90890-0, Fax: ++49 9391 90890-99, E-Mail: [email protected] Amtsgericht Würzburg HRB 5410, Geschäftsführer: Peter Schubert, Dipl.-Wirt.ing.(FH) Thorsten Beck _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
