Re: Where do get the ODBC headers/libraries from ?
Sanjay Kumar wrote:
Folks !
Long time since I worked with windows or ODBC. I
installed MDAC SDK 2.8. I don't see sql.h in the "Inc"
directory or anywhere else
on my drives. MDAC SDK description makes you beleive it is
the right
SDK. But how come it doesn't contain ODBC headers anymore
?
I installed VC++ 8.0 Express edition also. Still no
headers or libraries for ODBC.
Has something changed ? I am running Windows 2000 and I
can create ODBC data sources and connect to to them using
gcc/MinGW
(which comes with ODBC header files and libraries out of
Box on Windows).
When I was working with ODBC 10 years ago there were all
kind of conspiracy theories about MS trying to kill ODBC.
Some things just don't change. Its ironical that easier
to get started with ODBC using gcc/MinGW than Microsoft's
own SDK and Studios.
But then again I hope I am wrong and just missing
something very trivial.
Any help will be much appreciated.
There are no many changes regarding development environment.
As before, you will need Platform SDK and compiler. MDAC SDK
is part of Platform SDK, however you can download it
separately.
Here's entry page for DB programming:
"Data Access"
http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_dataaccess.asp
This is ODBC section:
"Microsoft Open Database Connectivity (ODBC)"
http://msdn.microsoft.com/library/en-us/odbc/htm/dasdkodbcoverview.asp
HTH
Alex