This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Missing registry defines in windows32 headers?
- To: Jerry Cable <jcable at bigfoot dot com>, Cygnus Solution GnuWin32 Mail List <gnu-win32 at cygnus dot com>
- Subject: Re: Missing registry defines in windows32 headers?
- From: Andrew Lipnitsky <ert at cit dot org dot by>
- Date: Sun, 11 Jan 1998 14:06:29 +0200
- References: <01bd1e00$3d511840$LocalHost@tornado>
Jerry Cable wrote:
> I am trying to compile a program I downloaded from CompuServe which
> reads
> from the registry. When I attempted to compile it using gcc, I receive
> the
> following error:
>
> HKEY_DYN_DATA undeclared (first use this function)
>
> I looked in the windows32 header files included with the cygwin b18
> distribution and found the other HKEY defines used by this program,
> but
> couldn't find HKEY_DYN_DATA. I also looked at a Win32 API help file I
> had,
> and it appears to have no mention of this symbol. Is this an
> undocumented
> registry definition, and if it is, does anyone know what the value
> should
> be? Thanks in advance!
>
> Jerry Cable
> jcable@bigfoot.com
>
Indeed, there is not definition of HKEY_DYN_DATA in cygnus's h-files.
In order to make this definition available to you ,
Just add following string into file
H-i386-cygwin32/i386-cygwin32/include/Windows32/Defines.h:
#define HKEY_DYN_DATA ( ( HKEY ) 0x80000006 )
Best regards.
Andrew.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".