--- connect.c 2005-10-09 22:33:40.000000000 +0300 +++ connect.c 2008-01-02 21:57:09.000000000 +0200 @@ -451,7 +451,7 @@ We can not present a prompt if we have a null window handle. */ - if ( !hwnd && fDriverCompletion != SQL_DRIVER_NOPROMPT ) + if ( !hwnd && fDriverCompletion != SQL_DRIVER_NOPROMPT && fDriverCompletion != SQL_DRIVER_COMPLETE) //@chris: complete string does not require prompt neither { set_dbc_error( hdbc, "IM008", "Invalid window handle for connection completion argument.", 0 ); nReturn = SQL_ERROR;