Anyone has any idea how to open a windows registry key using C++?
from my understanding, there is a function in winreg.h that does this, RegOpenKeyEx and RegSetValueEx.
But i cant seem to open the key with RegOpenKeyEx. When debugging, the debugger showed this error message "First-chance exception in Proj.exe (ADVAPI32.DLL): 0xC0000005: Access Violation."
Anyone know's what the problem is? or can anyone show how should i go about opening and editing the registry?