问题
Ok, i have a simple database engine (its a proprietary product written in vb6) for one of my applications...
i'd like to create an ODBC driver for it so i can use some of my other applications (which require a database) with my database engine rather than microsoft sql (which they are currently using)....
Does anyone have any heads up on how to develop an ODBC driver (preferably in vb6) ... i'v spent the last few hours googling it and havnt had much luck... about the best thing i have found so far is: http://www.datadirect.com/products/openaccess/index.ssp
but i dont exactly want to go buying an SDK to write an ODBC driver...
Cheers in advance,
回答1:
If you have to ask, you won't be able to do it :-) Seriously, writing an ODBC driver is big undertaking - I looked at doing so for a project I was on once, and eventually advised against trying, and I have a pretty good understanding of ODBC. And it really needs to be mostly written in a lower level language such as C or C++ - VB6 is not really suitable.
回答2:
Here is an open source one you can look at or use as a base for your stuff: http://www.postgresql.org/ftp/odbc/versions/src/
来源:https://stackoverflow.com/questions/2508270/creating-a-custom-odbc-driver-for-application