For Programmers: Free Programming Magazines  


Home > Archive > VC Language > May 2006 > Where do get the ODBC headers/libraries from ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Where do get the ODBC headers/libraries from ?
Sanjay Kumar

2006-05-29, 4:19 am

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.

thank you,

-Sanjay
Alex Blekhman

2006-05-29, 4:19 am

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/e..._dataaccess.asp

This is ODBC section:

"Microsoft Open Database Connectivity (ODBC)"
http://msdn.microsoft.com/library/e...dbcoverview.asp

HTH
Alex


Sanjay Kumar

2006-05-29, 7:12 pm

Thanks Alex.
I was able to compile and link my application.

Alex Blekhman wrote:

>
> 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/e..._dataaccess.asp
>
> This is ODBC section:
>
> "Microsoft Open Database Connectivity (ODBC)"
> http://msdn.microsoft.com/library/e...dbcoverview.asp
>
> HTH
> Alex
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com