Modifying the registry with a C++ program

Brian23

Banned
Dec 28, 1999
1,655
1
0
Hi all,
I'm trying to write a program that will autosort the start menu, but I need to be able to edit the registry to do so. I've never done this with C++ before, so I'm not sure how to do it.
 

glugglug

Diamond Member
Jun 9, 2002
5,340
1
81
The start menu isn't built from the registry AFAIK - Just look at \Documents and Settings\All Users\Start Menu and \Documents and Settings\<your username>\Start Menu folders.
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
Originally posted by: CTho9305
Look at msdn for the API calls you need. They should be very well documented.

yes. look for functions that start with the name "Reg" eg RegOpenKeyEx() RegQueryValueEx()