char szBuff[256]; SQLGetPrivateProfileString( "ODBC Data Sources", szBuff, "", szBuff, sizeof(szBuff), "odbc.ini"); if (strstr(strupr(szBuff), "SQL") > 0 && strstr(strupr(szBuff), "SERVER") > 0) { // instructions } if (strstr(strupr(szBuff), "ORACLE") > 0) { // instructions } // etc...
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question