i need to edit somthing in the regestry, how would i go about doing this?
:confused:
Printable View
i need to edit somthing in the regestry, how would i go about doing this?
:confused:
you need to use RegOpenKeyEx() to get a handle to the registry key and RegQueryValueEx() to get a value or RegSetValueEx() to set a value
i attached a vb module i wrote a while ago that explains how to do a number of things with the registry, including getting/setting keys/values and enumerating keys/values...
i know it's not in C but it's nearly pure API so it shouldn't be difficult to port it to C. If you need help, I can probably write a C version in a few days, as soon as i have some time...
Do a search for Registry.cpp and that should give something.