本文介绍了Windows 7中updateRegistry中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 更新注册表时,我一直在努力消除错误. 我有一个旧的VC ++(VS 6.0)代码在Windows XP中可以正常工作.但是在Windows 7中,UpdateRegistry("AfxOleRegisterServerClass")函数调用时,相同的代码失败了,错误消息为, 无法更新系统注册表,请尝试使用regedit" 能否建议我应该使用RegCreateKeyEx(),RegSetValueEx()还是有针对该错误消息的解决方案.I have been strugling eleminate error while updating registry. I have a legacy VC++(VS 6.0) code working fine in windows XP.But the same code is failing at UpdateRegistry("AfxOleRegisterServerClass") function call in windows 7.Error message as, "failed to update system registry please try using regedit" Could please suggest me should I go with RegCreateKeyEx(), RegSetValueEx() or is there any solution for the error message.推荐答案 这篇关于Windows 7中updateRegistry中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-19 00:42