Solved

Writing an ODBC Driver

Posted on 1998-05-26
6
619 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now