|
From: Elias P. <eli...@ao...> - 2001-06-20 16:10:43
|
> > Try this link: > > http://msdn.microsoft.com/library/psdk/winbase/regapi_59mb.htm > > ... > > But if i try put the code prom open a key in registry.... > > #include <stdio.h> > #include <Winreg.h> //Header: Declared in Winreg.h; include Windows.h. > #include <Windows.h> // i put this 2 headers as is needed in the text. > > int main() > { > LONG RegCreateKeyEx( > HKEY HKEY_USERS\wendel_test > return(0); > } > > When i try compile i recive: ... You can't use #include <Winreg.h> with Dev-C++. Just delete that line. For the use of RegCreateKeyEx, at the link in the beginning of this message, you will find links to some examples. |