RegOpenKeyEx 返回2的原因
2013年03月17日
⁄ 综合
⁄ 共 277字 ⁄ 字号
小 中 大
What build of Vista are you running?
Have you tried running the application with a compatiblity shim applied?
Have you tried running your application in an elevated user context? And does the problem duplicate?
Have you tried using other registry formats such as RegOpenKeyExW (Unicode)?
改为RegOpenKeyEx A
记住unicode与ansic区别