makaveliuk
Programmer
I am using RegOpenKeyEx() to open a registry key and RegQueryValueEx to query the 4 values within it, it reads the first fine, but gives an Access Violation 0xC0000005 in MFC42UD.dll on the second value, it doesn't matter which order I read them in or if I close the key and re-open it between queries.
Any ideas what could be wrong?
Any ideas what could be wrong?