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
Vista + D7 + SDAC 3.80.0.38 = Incorrect MDAC Version
Re: Vista + D7 + SDAC 3.80.0.38 = Incorrect MDAC Version
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: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?
Code: Select all
var
OSVersionInfo: TOSVersionInfo;
begin
OSVersionInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo);
Windows.GetVersionEx(OSVersionInfo);
ShowMessage(IntToStr(OSVersionInfo.dwMajorVersion));
end;
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.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.
Re: Vista + D7 + SDAC 3.80.0.38 = Incorrect MDAC Version
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
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: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: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?
Code: Select all
var OSVersionInfo: TOSVersionInfo; begin OSVersionInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo); Windows.GetVersionEx(OSVersionInfo); ShowMessage(IntToStr(OSVersionInfo.dwMajorVersion)); end;