Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ODBC Driver Example Code

924 views
Skip to first unread message

MattC1234

unread,
Dec 20, 2007, 3:15:03 PM12/20/07
to
I am new to Microsoft and have been tasked with writting and ODBC Driver.

I've looked through the MSDN site and found a number of articles that
discuss ODBC Driver development. I've read through the ODBC API reference
manual and have a pretty good idea what needs to be done.

What I need to move forward is to find some example code that I can look at.
An article that identifies the steps to creating and deploying an ODBC driver
would be great!

Does anyone know where I can find some ODBC Driver example code? Would it
help if I had an MSDN Subscription?

Any suggestions would be appreciated.

Thanks,

Arnie

unread,
Dec 26, 2007, 10:59:31 AM12/26/07
to
"MattC1234" <Matt...@discussions.microsoft.com> wrote in
message
news:A462704B-8D3A-48FE...@microsoft.com...

You might want to take a look at these people. I have no
experience with them.

http://www.openaccesssoftware.com/

- Arnie


B Stewart

unread,
Jan 11, 2008, 11:11:01 AM1/11/08
to
I'm looking for the same thing. I've spent an entire day looking for some
direction on how to get starting developing an ODBC driver, without much
success.

I've seen references to a Microsoft ODBC SDK which I can't find. I've
looked for examples in the Windows SDK and the MDAC SDK. I have not found
any real information ODBC driver development in either. The "ODBC
Programmer's Reference" section "Developing Applications and Drivers" doesn't
seem to say anything about developing a driver, just using ODBC as a client.
(http://msdn2.microsoft.com/en-us/library/ms714177.aspx)

Does anyone have any advice? Thanks

Langer@discussions.microsoft.com Thomas Langer

unread,
Jan 18, 2008, 9:54:04 AM1/18/08
to
Hi. I'm also writing an odbc-driver at this time. You don't need any
odbc-sdk. Everything you need is in sql.h sqlext.h sqltypes.h.
The information in the msdn are a little bit curious. The information in the
msdn, belongs also to the driver. You only need to create a win32-dll
project, include the headers, Write the functions like SQLGetInfo or
SQLAllocHandle export them with a .def file. Add some keys in your registry,
and it works.

Greets Thomas

B Stewart

unread,
Jan 18, 2008, 10:44:03 AM1/18/08
to
Thanks for the reply, that is good information. For anyone else who is
interested, a good article on the subject can be found here:
http://www.ddj.com/windows/184416434
(The source code is a little hard to find, but it's there. You need to
follow the source code link then browse to the correct issue.)

Thomas Langer

unread,
Jan 21, 2008, 6:22:26 AM1/21/08
to
Hi, thanks for your link and your samples. I'm not finished yet with my
driver, and this link helped in answering questions before they appear.


"B Stewart" <BSte...@discussions.microsoft.com> schrieb im Newsbeitrag
news:B6A9E507-A93C-4443...@microsoft.com...

Alessandro

unread,
Feb 12, 2008, 4:13:02 PM2/12/08
to
Thomas,

did you finished your ODBC driver, and if yes, can you share (parts) of your
code?

Alessandro

Mohammed Muzammil

unread,
Dec 11, 2022, 2:47:44 AM12/11/22
to
Hello Thomas,
I have the requirement to develop the odbc driver. So it would be really helpful to get started if you could share the source code.

Mohammed Muzammil

unread,
Dec 11, 2022, 2:50:38 AM12/11/22
to
Hello, I have the same requirement. It would be really helpful if you could share some insights on how to get started or the source code.
0 new messages