Page 1 of 1

Vista + D7 + SDAC 3.80.0.38 = Incorrect MDAC Version

Posted: Thu 08 Nov 2007 13:16
by Scoundrel
Hi Developers.

My application currently developed under Windows XP not works under Vista. The errormessage is "Incorrect MDAC version. Download latest MDAC version".

What is the problem?

SC

Posted: Thu 08 Nov 2007 15:31
by yeohray
Encountered that too. I upgraded to version 4, and noticed that the check for the MDAC version is not made on Vista systems, thus not raising that error message. No idea what's the reason for that.

Re: Vista + D7 + SDAC 3.80.0.38 = Incorrect MDAC Version

Posted: Fri 09 Nov 2007 08:03
by Antaeus
Scoundrel wrote:My application currently developed under Windows XP not works under Vista. The errormessage is "Incorrect MDAC version. Download latest MDAC version".

What is the problem?
This error was fixed in SDAC 3.80.0.32, so it must not appear in SDAC 3.80.0.38. Try to check value of this variable at run-time: SdacVersion. If it equals to '3.80.0.38', run this code in your application, and report us the exact text of the message:

Code: Select all

var
  OSVersionInfo: TOSVersionInfo;
begin
  OSVersionInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo);
  Windows.GetVersionEx(OSVersionInfo);
  ShowMessage(IntToStr(OSVersionInfo.dwMajorVersion));
end;

Posted: Fri 09 Nov 2007 08:06
by Antaeus
yeohray wrote:Encountered that too. I upgraded to version 4, and noticed that the check for the MDAC version is not made on Vista systems, thus not raising that error message. No idea what's the reason for that.
The reason of the problem is that MDAC version under Windows Vista differs from MDAC version under XP, 2000, etc. So we had to add some code to avoid this problem.

Re: Vista + D7 + SDAC 3.80.0.38 = Incorrect MDAC Version

Posted: Fri 09 Nov 2007 12:46
by Scoundrel
Hi Antaeus,

I checked run-time sdac version. That was 3.5.0.xx. I removed manually all sdac related files, and I reinstalled 3.8.0.38. Now it works.

Thanks for help!

SC
Antaeus wrote:
Scoundrel wrote:My application currently developed under Windows XP not works under Vista. The errormessage is "Incorrect MDAC version. Download latest MDAC version".

What is the problem?
This error was fixed in SDAC 3.80.0.32, so it must not appear in SDAC 3.80.0.38. Try to check value of this variable at run-time: SdacVersion. If it equals to '3.80.0.38', run this code in your application, and report us the exact text of the message:

Code: Select all

var
  OSVersionInfo: TOSVersionInfo;
begin
  OSVersionInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo);
  Windows.GetVersionEx(OSVersionInfo);
  ShowMessage(IntToStr(OSVersionInfo.dwMajorVersion));
end;