You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also observed that SQLInstallDriverEx does not increment nUsageCount past 1, irrespective of how many times you call SQLInstallDriverEx. Why is that So?
The text was updated successfully, but these errors were encountered:
SQLRemoveDriver returns true, also I checked entry into odbcinst.ini and driver entry is also removed.
Here's my code : It prints Usage count is 1.
DWORD nUsageCount;
BOOL bRemoveDSNs = false;
if (!SQLRemoveDriver("ODBCDRIVERNAME",bRemoveDSNs ,&nUsageCount)) {
printf("Error \n");
}
else {
printf( "Usage count is %d.\n", (int)nUsageCount );
}
I also observed that SQLInstallDriverEx does not increment nUsageCount past 1, irrespective of how many times you call SQLInstallDriverEx. Why is that So?
The text was updated successfully, but these errors were encountered: