Solved

Writing an ODBC Driver

Posted on 1998-05-26
6
623 Views
Last Modified: 2008-02-26
Where can I get started with information about writing an ODBC Driver.  I need to write a driver for a custom data structure and I need to find out what I need to implement to make it all work together.  Maybe even an example driver (i.e. Text Driver?).
0
Comment
Question by:twain052098
  • 4
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
tma050898 earned 50 total points
ID: 1025488
twain,

Get the ODBC 3.0 Programmer's Reference. It can be found at most book stores for about $100. Not only does it cover how to write ODBC client code, but it also shows what's needed in order to write an ODBC drivers in terms of the functions that you are required to export, the different levels of compliance (both SQL and API), what your driver needs to do obtain the different levels of compliance, etc.

Tom

0
 

Author Comment

by:twain052098
ID: 1025489
Thanks!
0
 
LVL 3

Expert Comment

by:tma050898
ID: 1025490
BTW, the reason the ODBC 3.0 Programmer's Reference costs so much is that it includes the entire ODBC SDK and several sample programs (with source code).
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:twain052098
ID: 1025491
Is the book worth that much, or should I try to d/l it from Microsoft?
0
 
LVL 3

Expert Comment

by:tma050898
ID: 1025492
Damn! That was the quickest reponse to an answer I've ever seen! Definitely a man on a mission ;) You're welcome and good luck with your driver.

Tom

0
 
LVL 3

Expert Comment

by:tma050898
ID: 1025493
You're so fast that our questions are getting out of sync ;)

>>>Is the book worth that much, or should I try to d/l it from Microsoft?
I personally think its worth it for a number of reasons...

1. There are times when I'm having a problem and I want to quickly jump from one place in the book to another when tracking down information.
2. Can you download the SDK *and* all the samples? Even if you can, what are you going to download them to? With the CD, I never have to worry about reinstalling my machine and having to download the SDK again. And if I want to install the SDK to another box I can do that as well.

I don't know. Maybe it's just a personal preference. But, I prefer having the books and the CD.

Tom

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question