I have a weird issue related to performance counter registration on Vista. The problem is that my dll's registration fails on CPerfMon's update of the REG_MULTI_SZ value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009\Counter. I've written the simple application that tries to update the same key. It fails with 0x800703F2 = "The configuration registry key is invalid".
I am absolutely sure that the new value is valid, the key is valid (I still can CRegKey::QueryMultiStringValue value after I receive error on CRegKey::SetMultiStringValue), permissions requested are default KEY_READ | KEY_WRITE.
This code works fine on the XP, windows 2003 - that is the reason why I asked it here.
Thanks in advance.
The answer of this question is here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1167528&SiteID=1&mode=1