dimanche 11 mai 2014

c ++ - COM msado15.dll programme a cessé de courir - Stack Overflow


We had been using the old msado15.dll in our program . And we used to import it #import "msado15.dll" . Now just a few days back we upgraded to Windows 8. And alas, our software stopped working on Windows 7 which didnt have Service pack 1 installed. Earlier when we were using Windows 7 we had upgraded to Service pack 1 and the same problem was happening so we uninstalled the service pack 1 for windows 7 from all machines and everything worked fine.


But with Windows 8 i suppose they have already changed the msado15.dll. I did some research online and they said that we should replace the imports with the msado60.tlb but this also didnt work with our compilation breaking.


This is how we used to refer in our C++ environment


import "c:\program Files\Common Files\system\ado\msado15.dll" rename_namespace("ADOCG") rename("EOF","EndofFile") 

I have changed it to


import "c:\program Files\Common Files\system\ado\msado28.tlb" rename_namespace("ADOCG") rename("EOF","EndofFile")

& also tried


import "c:\program Files\Common Files\system\ado\msado60.tlb" rename_namespace("ADOCG") rename("EOF","EndofFile")

As suggested by Microsoft Link . But still it dosent work on XP machines & Windows 7 Machines which does not have Service pack 1 installed.


Can any one suggest proper steps that we can follow so as to get our program running on Windows 7 without service pack 1 as well as on windows 8.


Have been stuck with this issue for a few days now . help will be much appreciated.


With Regards, Saurabh



We had been using the old msado15.dll in our program . And we used to import it #import "msado15.dll" . Now just a few days back we upgraded to Windows 8. And alas, our software stopped working on Windows 7 which didnt have Service pack 1 installed. Earlier when we were using Windows 7 we had upgraded to Service pack 1 and the same problem was happening so we uninstalled the service pack 1 for windows 7 from all machines and everything worked fine.


But with Windows 8 i suppose they have already changed the msado15.dll. I did some research online and they said that we should replace the imports with the msado60.tlb but this also didnt work with our compilation breaking.


This is how we used to refer in our C++ environment


import "c:\program Files\Common Files\system\ado\msado15.dll" rename_namespace("ADOCG") rename("EOF","EndofFile") 

I have changed it to


import "c:\program Files\Common Files\system\ado\msado28.tlb" rename_namespace("ADOCG") rename("EOF","EndofFile")

& also tried


import "c:\program Files\Common Files\system\ado\msado60.tlb" rename_namespace("ADOCG") rename("EOF","EndofFile")

As suggested by Microsoft Link . But still it dosent work on XP machines & Windows 7 Machines which does not have Service pack 1 installed.


Can any one suggest proper steps that we can follow so as to get our program running on Windows 7 without service pack 1 as well as on windows 8.


Have been stuck with this issue for a few days now . help will be much appreciated.


With Regards, Saurabh


0 commentaires:

Enregistrer un commentaire