www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - ODBC3 Support?

reply "Rajiv Bhagwat" <dataflow vsnl.com> writes:
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.
Oct 17 2001
next sibling parent reply "Walter" <walter digitalmars.com> writes:
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.
Oct 18 2001
parent reply "Rajiv Bhagwat" <dataflow vsnl.com> writes:
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.
Oct 18 2001
parent reply Heinz Saathoff <hsaat bre.ipnet.de> writes:
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
Oct 25 2001
parent "Rajiv Bhagwat" <dataflow vsnl.com> writes:
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
Oct 25 2001
prev sibling parent Jan Knepper <jan smartsoft.cc> writes:
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.
Oct 18 2001