PDA

Click to See Complete Forum and Search --> : Regestry editing help


Cmdr0Sunburn
Jul 31st, 2001, 04:50 PM
i need to edit somthing in the regestry, how would i go about doing this?


:confused:

unformed
Jul 31st, 2001, 06:49 PM
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...

parksie
Jul 31st, 2001, 07:10 PM
Do a search for Registry.cpp and that should give something.