Thread overview
ODBC3 Support?
Oct 18, 2001
Rajiv Bhagwat
Oct 18, 2001
Walter
Oct 18, 2001
Rajiv Bhagwat
Oct 25, 2001
Heinz Saathoff
Oct 25, 2001
Rajiv Bhagwat
Oct 18, 2001
Jan Knepper
October 18, 2001
The current 'sql.h' does not have support for ODBC 3.0, which makes functions such as 'SQLGetDiagRec' not available while using DMC. It is available in VC5.

Simple copying of headers from VC gives linker errors.
This is not urgent.



October 18, 2001
What linker errors?

Rajiv Bhagwat wrote in message <9qlq1n$1khu$1@digitaldaemon.com>...
>The current 'sql.h' does not have support for ODBC 3.0, which makes functions such as 'SQLGetDiagRec' not available while using DMC. It is available in VC5.
>
>Simple copying of headers from VC gives linker errors.
>This is not urgent.
>
>
>


October 18, 2001
Same ''SQLGetDiagRec" .... is undefined.(along with other routines added in
ODBC 3).
The headers I had copied are: sql.h, sqlext.h, sqltypes.h and sqlucode.h.

-- Rajiv

Walter <walter@digitalmars.com> wrote in message news:9qlv7o$1or6$1@digitaldaemon.com...
> What linker errors?
>
> Rajiv Bhagwat wrote in message <9qlq1n$1khu$1@digitaldaemon.com>...
> >The current 'sql.h' does not have support for ODBC 3.0, which makes functions such as 'SQLGetDiagRec' not available while using DMC. It is available in VC5.
> >
> >Simple copying of headers from VC gives linker errors.
> >This is not urgent.
> >
> >
> >
>
>


October 18, 2001
I think I started using the M$ headers and libraries for this 2 years ago.

I will see what I can get to you.

Jan



Rajiv Bhagwat wrote:

> The current 'sql.h' does not have support for ODBC 3.0, which makes functions such as 'SQLGetDiagRec' not available while using DMC. It is available in VC5.
>
> Simple copying of headers from VC gives linker errors.
> This is not urgent.

October 25, 2001
Rajiv Bhagwat schrieb...
> 
> Same ''SQLGetDiagRec" .... is undefined.(along with other routines added in
> ODBC 3).
> The headers I had copied are: sql.h, sqlext.h, sqltypes.h and sqlucode.h.

Have you added the ODBC32.LIB to the linker? Just including the headers doesn't help the linker.

Regards,
	Heinz
October 25, 2001
Ok!! So silly of me not to do that. Thanks!
Will try and let you know if it does not succeed. (Now too late..)

- Rajiv Bhagwat

Heinz Saathoff <hsaat@bre.ipnet.de> wrote in message news:MPG.1641d843a3b215c989696@news.digitalmars.com...
> Rajiv Bhagwat schrieb...
> >
> > Same ''SQLGetDiagRec" .... is undefined.(along with other routines added
in
> > ODBC 3).
> > The headers I had copied are: sql.h, sqlext.h, sqltypes.h and
sqlucode.h.
>
> Have you added the ODBC32.LIB to the linker? Just including the headers doesn't help the linker.
>
> Regards,
> Heinz