3/12/2023 0 Comments Repair mdac installation windows 7Please download the Preview build freely at: ![]() The Windows 8 Preview build contains the complete fix of this issue. Set cn = o ' this errors when compiled on Win 7 SP1 and run on older versions of Windows due to the changed IID of the dispinterface _Connection Set o = CreateObject("ADODB.Connection") ' this does still work To verify the error you can use code like this in VB6 or equivalent in VB.Net or C# and compile it on Win7 SP1 and run it on Win7 RTM or older versions of Windows: Dim cn As ADODB.Connection I really hope I am missing something as this change seems to be a massively breaking change in the MDAC API. The CLSIDs still match, so the COM objects get created but due to different IIDs they cannot be used. That means that all code produced on Windows 7 SP1 using ADODB cannot be run on any other version of Windows as the IIDs differ. ![]() I hunted this down to changed Interface IDs in the msadoxx.tlb files. ![]() After I installed Service Pack 1 on my Windows 7 圆4 Ultimate my applications which use MDAC 2.8 COM components for database access do not work on other Windows versions any more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |