- 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区别