Populates a StringArray (or vector<string>) containing the names of installed ODBC drivers. Returns number of drivers found.
int okutil_get_installed_ODBC_drivers(StringArray* psaDrivers);
Number of drivers found.
EX1
#include <Origin.h> #include <outils.h> void dump_drivers() { vector<string> vs; int num = okutil_get_installed_ODBC_drivers(&vs); for (int i = 0; i < num; i++) { printf("%s\n", vs[i]); } }
origin.h
outils.h