|
-
Jul 31st, 2001, 04:50 PM
#1
Thread Starter
Hyperactive Member
Regestry editing help
i need to edit somthing in the regestry, how would i go about doing this?
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
-
Jul 31st, 2001, 06:49 PM
#2
Junior Member
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...
-
Jul 31st, 2001, 07:10 PM
#3
Monday Morning Lunatic
Do a search for Registry.cpp and that should give something.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|