2012-11-28-- SQLServer: ODBC API, fixed bug with connection string parsing (thanks Hide Ishikuri).
Use attached file for 4.0.2 sources patching. It fixes the situation when SQLServer ODBC API connection is impossible with SAException messages like
'Invalid value specified for connection string attribute ...' or 'Login failed for user ...' -- Best regards, Sergey Chumakov, SQLAPI++ development team
*** ssNcliClient.cpp 24 Jun 2012 15:55:13 -0000 1.21 --- ssNcliClient.cpp 28 Nov 2012 04:53:37 -0000 *************** *** 517,523 **** } else sConnectString += _TSA(";Trusted_Connection=yes"); ! if( iPosRest > 0 ) sConnectString += sDBString.Mid(iPosRest); SQLWCHAR OutConnectionString[1024]; --- 517,523 ---- } else sConnectString += _TSA(";Trusted_Connection=yes"); ! if( iPosRest != SIZE_MAX ) sConnectString += sDBString.Mid(iPosRest); SQLWCHAR OutConnectionString[1024];