A while ago i posted a topic regarding three problems encountered in ReactOS. One of them was the infamous ODBC.
After some research, i managed to get ODBC working on ReactOS by copying specific files from Windows XP. Still, there's another problem.
ADO (ActiveX Data Objects) is not working... Did some research, found that ADO resides in \Program Files\Common Files\System\ADO...
So, i copied the files from a working WIN XP SP3 install to ROS and, not knowing what's what started regsvr32-ing as many DLL's as i found
Some progress has been made. The application that uses ADO changed the error message from "ActiveX Component Can't Create Object" to
"Automation Error -2147221166". I got stuck at this point - ADO appears to be registered but does not start up Googling this did not produce
any results, it appears some ADO dll is missing and nobody knows about it
From what i know (HBelusca on JIRA confirmed this) the MDAC installer (the thing that drops ADO onto the system) will only work on : Windows '98 !
That's why i got my app. working on Wine, because Wine could launch MDAC_TYP.exe and fool it so that i saw the operaing medium as Windows '98.
Once the MDAC installer saw it ran on Windows '98, it installed ADO and all the necessary stuff correctly.
This seems to be the problem. Maybe, instead of focusing on getting ADO to run, we shift focus on tricking the installer it into dropping ADO onto the system...The problem is that using the installers don't work on Win2k3 (or ROS) because on those OSes ODBC/mdac must be installed already (since for win2k3 it is provided with the OS and not independently, as it was the case with Windows <= 2k ...) . Maybe with some app compat it would work ? I don't know. And on ReactOS we don't have AppCompat for now....
I know AppCompat isn't available and i know it won't appear over night, but, Wine had some settings that allowed the applications to detect certain OS versions
as specified in the conf file... I wonder if this could have been inherited in ROS ?