I have a litle problem, so here it is:
In my application (in VC++) i'm using ODBC for diferent connections, i need to get a list of all databases on serves. So i use CDatabase object to connect on server (with connection string i've get from the start of the app when my user chooses a server to work with). Then I try to get list of databases by declaring a CRecordset object pasing by a pointer ot CDatabase object (above) as a parametar and call CRecordset Open fnc. with my query and there is the problem!!!
if ( !database.OpenEx(m_sDNSconecct,CDatabase::openReadOnly)
catch (CInternetException* pEx)
// catch errors from WinINet
if (pEx->GetErrorMessage(szErr, 1024))