Answer the question
In order to leave comments, you need to log in
Unusual ODBC + SQLDriverConnect drivers: what are your glitches?
Task: Interactively build an ODBC connection string. Because of the extremely confusing standard driver selection dialog, I choose the driver myself and then run SQLDriverConnect with a non-empty string.
retcode = SQLDriverConnect( // SQL_NULL_HDBC
hdbc,
reinterpret_cast<HWND>(aWinId),
const_cast<wchar_t*>(drv.data()), // "DRIVER={Driver name}"
drv.length(),
OutConnStr,
4096,
&OutConnStrLen,
SQL_DRIVER_COMPLETE );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question