This is a discussion on DB-Library to ODBC function mappings within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I am migrating an SQL Server application from the DB-Library API to ODBC. In order to avoid application-level code ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am migrating an SQL Server application from the DB-Library API to ODBC. In order to avoid application-level code changes, I was planning to create an ODBC interface written to the DB-Lib specification as a replacement module for NTWDBLIB.DLL, where a call to "dbopen" would perform a "SQLDriverConnect" under the covers, for example. I realize there will be a performance cost for the additional layer, but that's a trade-off I'm willing to accept for zero application code changes. This being a bit tedious, I was wondering if anyone knows of a Microsoft (or otherwise) document listing the mappings between these two interfaces, since they are functionally very similar. In other words, a list something like this... DB-Library..............ODBC dbbind..................SQLBindCol dbcancel................SQLCancel dbcanquery..............SQLCloseCursor dbclose.................SQLDisconnect etc... The other question I have related to this idea concerns that of copyright protection. Is it even legal to do what I am proposing to do? That is, use the DB-Libary interface specification as the basis for my own code? TIA, Mickey |