Messing with Registry

im a beginer and just trying to make an app thatll add a registry key and im confused as to what i need to #include
any help would be much appreciateddddd!!
[165 byte] By [80Degrees] at [2007-11-19 18:29:38]
# 1 Re: Messing with Registry
Just windows.h and use APIs such RegOpenKeyEx, RegCreateKeyEx, RegSetValueEx, RegCloseKey...
bilm_ks at 2007-11-9 0:55:49 >
# 2 Re: Messing with Registry
When I try to compile my app it gives me this error:

error C2447: missing function header (old-style formal list?)

Keep in mind I'm very new to c++ :/ What causes this error and how can I fix it?
80Degrees at 2007-11-9 0:56:47 >
# 3 Re: Messing with Registry
Sorry, i cant see your app...
bilm_ks at 2007-11-9 0:57:46 >
# 4 Re: Messing with Registry
Oh, if you mean the code from your other post remove winuser.h and ";" after main()
bilm_ks at 2007-11-9 0:58:51 >
# 5 Re: Messing with Registry
I'm basically trying to make an app that'll change the IE Homepage from the registry. I've downloaded an example code of it but its uses a GUI and I just want the app to run from console...
80Degrees at 2007-11-9 0:59:48 >
# 6 Re: Messing with Registry
im a beginer and just trying to make an app thatll add a registry key and im confused as to what i need to #include

any help would be much appreciateddddd!!
See Registry Functions (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_functions.asp) in MSDN.
cilu at 2007-11-9 1:00:58 >
# 7 Re: Messing with Registry
When I try to compile my app it gives me this error:

error C2447: missing function header (old-style formal list?)

Keep in mind I'm very new to c++ :/ What causes this error and how can I fix it?
Usually this comes from a missing or misplaced open bracket. Thus, check your brackets to match.

Other than that, take a look at the registy FAQs (http://www.dev-archive.com/forum/showthread.php?p=1201804#sdk_registry)...
Andreas Masur at 2007-11-9 1:01:57 >