creating a custom odbc driver for application

China☆狼群 提交于 2021-01-27 21:20:22

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!