vs2010 中文版 下载
番茄系统家园 · 2021-06-22 12:44:18

我的机子是WIN7系统在WIN7下开发的应用程序到XP上就不能运行了。
解决方案如下
1、先下载下面的文件
32位WIN7系统
64位WIN7系统平台 和
64位WIN7系统AMD平台和
2、拿
32位系统示例
注册
1、将复制到C:\ProgramFiles\CommonFiles\System\ado\目录下
2、再将C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe复制到C:\ProgramFiles\CommonFiles\System\ado\目录下
3、运行CMD
分别输入
pushdC:\ProgramFiles\CommonFiles\System\ado\回车
regtlibv12.exemsado60_Backcompat_x64.tlb回车
注册msado60_Backcompat_i386.tlb
1、将Msado60_Backcompat_i386.tlb复制到C:\ProgramFiles\CommonFiles\System\ado\目录下
2、再将C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe复制到C:\ProgramFiles\CommonFiles\System\ado\目录下
3、运行CMD
分别输入
pushdC:\ProgramFiles(x86)\CommonFiles\System\ado\回车
regtlibv12.exemsado60_Backcompat_i386.tlb回车
注意
32位系统需要注册
Msado60_Backcompat_i386.tlb
64位WIN7系统INTEL平台需要注册
Msado60_Backcompat_i386.tlb和Msado60_Backcompat_x64.tlb这2个文件
64位WIN7系统AMD平台需要注册
Msado60_Backcompat_i386.tlb和Msado60_Backcompat_ia64.tlb这2个文件
3、替换程序代码
如果是VC
将
#importmsado15.dllno_namespacerename(EOF,EndOfFile)
替换为
#importmsado60_Backcompat.tlbno_namespacerename(EOF,EndOfFile)

