On Parameters.Refresh line I'm getting error (80040e51).
I have turned ODBC trace ON and tried to use DB2 ODBC driver to
compare logs.
For DB2 driver function SQLNumParams function is called after
SQLPrepareW, for my driver SQLFreeStmt is called instead of
SQLNumParams. What can cause such a behavior ?
Regards.
But since ADO is using MSDASQL to connect to an ODBC driver, you may want to
make sure your driver works well with OleDB first. To do so, you can try to
run the OleDB conformance test, which can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en&Hash=raENJbos8HATZNlmmiQHcjnsUV5hOMFy7J1PezdapbyjI%2fkGNybWXuzC5zVWDBf28dXhf0vDkEDkugMZUJvB7w%3d%3d
You can then compare the result between your driver prototype, IBM DB2 ODBC
driver, and SQL Server Native Client 10.0.
Thanks,
Ming.
WDAC Team, Microsoft.
P.S. We recommend customers to use the forum to ask questions in the future,
where you can obtain a faster response (Forum is at:
http://social.msdn.microsoft.com/forums/en-US/sqldataaccess/threads/)