On Nov 1 13:09, Brian Dessent wrote:
David Arnstein wrote:
#include w32api/ddk/ntapi.h
You don't need the w32api prefix
Additionally, since you're building a MingW application (-mno-cygwin),
/usr/include is *not* in the search path for, hopefully, obvious reasons.
Corinna
--
I would like to use some of the undocumented NTDLL functions from
within a C or C++ program. I would like to compile this program from
Cygwin's C or C++ compiler.
The functions I refer to involve Registry operations, such as
NtQueryValueKey() and NtEnumerateValueKey(). I found some sparse
On Nov 1 03:49, David Arnstein wrote:
I would like to use some of the undocumented NTDLL functions from
within a C or C++ program. I would like to compile this program from
Cygwin's C or C++ compiler.
The functions I refer to involve Registry operations, such as
NtQueryValueKey() and
On Sat, Nov 01, 2008 at 10:14:44AM +0100, Corinna Vinschen wrote:
On Nov 1 03:49, David Arnstein wrote:
I would like to use some of the undocumented NTDLL functions from
within a C or C++ program. I would like to compile this program from
Cygwin's C or C++ compiler.
The functions I refer to
On Sat, Nov 01, 2008 at 10:14:44AM +0100, Corinna Vinschen wrote:
Many of the ntdll functions and types are defined under
/usr/include/w32api/ddk. The definitions are not complete so expect
that you have to create your own header to define missing symbols.
Patches to extend the files in
David Arnstein wrote:
#include w32api/ddk/ntapi.h
You don't need the w32api prefix, that is part of the built-in search
path -- otherwise, #include windows.h would not work.
You also need to link with -lntdll.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
6 matches
Mail list logo