Click here to Skip to main content
15,922,145 members
Home / Discussions / Database
   

Database

 
GeneralRe: OleDb Connection Pin
Chris Blazek30-Aug-03 18:17
sussChris Blazek30-Aug-03 18:17 
GeneralsqlDataAdapter Recommendation Pin
econner27-Aug-03 8:03
econner27-Aug-03 8:03 
GeneralRe: sqlDataAdapter Recommendation Pin
Mike Dimmick28-Aug-03 3:16
Mike Dimmick28-Aug-03 3:16 
GeneralSetFieldNull. Pin
Anonymous26-Aug-03 9:13
Anonymous26-Aug-03 9:13 
GeneralODBC Q Pin
Frank Olorin Rizzi26-Aug-03 7:39
Frank Olorin Rizzi26-Aug-03 7:39 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi27-Aug-03 4:02
Frank Olorin Rizzi27-Aug-03 4:02 
GeneralRe: ODBC Q Pin
Mike Dimmick27-Aug-03 5:22
Mike Dimmick27-Aug-03 5:22 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi27-Aug-03 5:57
Frank Olorin Rizzi27-Aug-03 5:57 
Mike Dimmick wrote:
A couple of things spring to mind:

Are the functions declared extern "C" if compiled as C++?

Is the TraceVersion function returning the correct version number?



Mike,
first of all thanks for replying.

The source code is the done that comes with the MDAC SDK.
The various functions are declared as:

RETCODE SQL_API TraceSQLxxx

SQL_API is defined as __stdcall.

The sqltypes.h header file imported in the project
includes the following block:

#ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */

How would I check the results of TraceVersion?
Do I need to build my harness to call just that routine and get the result?

BTW, which one would be the correct version?
Looking at the code, the TraceVersion routine returns the TRACE_VERSION constant, defined in
SQLEXT.H as 1000.

Thanks in advance,
F.O.R.
GeneralRe: ODBC Q Pin
Mike Dimmick27-Aug-03 6:03
Mike Dimmick27-Aug-03 6:03 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi27-Aug-03 6:05
Frank Olorin Rizzi27-Aug-03 6:05 
GeneralRe: ODBC Q Pin
Tom Archer28-Aug-03 3:35
Tom Archer28-Aug-03 3:35 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi28-Aug-03 4:18
Frank Olorin Rizzi28-Aug-03 4:18 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi28-Aug-03 5:54
Frank Olorin Rizzi28-Aug-03 5:54 
GeneralRe: ODBC Q Pin
Frank Olorin Rizzi9-Sep-03 2:19
Frank Olorin Rizzi9-Sep-03 2:19 
GeneralBULK INSERT via ADO -- URGENT Pin
Anonymous26-Aug-03 5:06
Anonymous26-Aug-03 5:06 
GeneralRe: BULK INSERT via ADO -- URGENT Pin
Anonymous26-Aug-03 5:57
Anonymous26-Aug-03 5:57 
GeneralRe: BULK INSERT via ADO -- URGENT Pin
Mike Dimmick26-Aug-03 22:36
Mike Dimmick26-Aug-03 22:36 
GeneralRe: BULK INSERT via ADO -- URGENT Pin
m2m Inc27-Aug-03 23:32
m2m Inc27-Aug-03 23:32 
GeneralDatareader & Datasets Pin
Nick Seng25-Aug-03 20:15
Nick Seng25-Aug-03 20:15 
GeneralRe: Datareader & Datasets Pin
Hesham Amin25-Aug-03 21:41
Hesham Amin25-Aug-03 21:41 
GeneralRe: Datareader & Datasets Pin
Nick Seng25-Aug-03 22:37
Nick Seng25-Aug-03 22:37 
GeneralRe: Datareader & Datasets Pin
Tom Archer26-Aug-03 2:09
Tom Archer26-Aug-03 2:09 
GeneralRe: Datareader & Datasets Pin
Nick Seng26-Aug-03 2:12
Nick Seng26-Aug-03 2:12 
GeneralSQL Server 2000 DMO Problem Pin
Anonymous25-Aug-03 10:04
Anonymous25-Aug-03 10:04 
GeneralRegistering the database Pin
Ahmed Galal25-Aug-03 4:57
Ahmed Galal25-Aug-03 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.