Index: src/drivers/odbc/CODBC.cpp
===================================================================
--- src/drivers/odbc/CODBC.cpp (revision 216)
+++ src/drivers/odbc/CODBC.cpp (working copy)
@@ -174,7 +174,7 @@
m_Retcode=::SQLDriverConnect( m_hConnection,ParentWnd,
(UCHAR FAR *)ConnectionString.c_str(),SQL_NTS,
(UCHAR FAR *)buff,(short)2048,&bufflen,
- SQL_DRIVER_COMPLETE);
+ SQL_DRIVER_NOPROMPT);
if (!Successful(m_Retcode)) {
string errorInfo =
errorInformation(("SQLDriverConnect("+ConnectionString+")").c_str());
Alexey Parshin wrote:
> It shouldn't show a window.. It was designed to fail if their is not
> enough
> parameters. Can you sow me that modification (_NOPROMPT) as a diff?
>
--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com
List hosted by Total Knowledge