[unixODBC-dev] odbctrac

Peter Harvey pharvey at peterharvey.org
Sat Dec 22 02:44:46 GMT 2007


Just finishing for the day - possibly for the next few. Just checked in code 
which demonstrates a simple bit of tracing using the SQLConnect in the 
odbctxt driver. This shows a driver loading and using odbctrac without DM 
involvement. I can see this working with or without the DM.

Two notable differences from MS-land thus far.

1. TraceReturn uses SQLPOINTER as first arg.
2. Trace* calls return SQLPOINTER and not SQLRETURN.

SQLPOINTER is for passing the pointer to the call context created & freed in 
odbctrac.

Anyway; comments welcome.

--
Peter



More information about the unixODBC-dev mailing list