SDAC and Vista
Posted: Sun 07 Jan 2007 12:27
Hi,
I'm running D7 with Vista. All seems to work after some initials problems (I did the upgrade from XP).
But I always get Incorrect MDAC version. I installed the latest MDAC but that didn't make it work. I had to change OLEDBAccess to make it work:
I changed this line:
if FProviderPrimaryVer < 7 then
DatabaseError(SWrongMDACVer);
into
if FProviderPrimaryVer < 6 then
DatabaseError(SWrongMDACVer);
Because with Vista FProviderPrimaryVer is equal to 6. Probably not the best solution but works for me.
I'm running D7 with Vista. All seems to work after some initials problems (I did the upgrade from XP).
But I always get Incorrect MDAC version. I installed the latest MDAC but that didn't make it work. I had to change OLEDBAccess to make it work:
I changed this line:
if FProviderPrimaryVer < 7 then
DatabaseError(SWrongMDACVer);
into
if FProviderPrimaryVer < 6 then
DatabaseError(SWrongMDACVer);
Because with Vista FProviderPrimaryVer is equal to 6. Probably not the best solution but works for me.