Re: RE: win32api_NtQuerySystemInformation compiling problem

2003-06-07 Thread Alex Pyltsov
Hi, Chris! Fri, Jun 06, 2003 at 11:47:14PM +0100, chris wrote: > > Hi, I've just try to use native w32api function NtQuerySystemInformation, > > but linker fail with following. Is this something trivial I am missing? > > You forgot -lntdll It gives the same err

win32api_NtQuerySystemInformation compiling problem

2003-06-06 Thread Alex Pyltsov
. /cygdrive/c/DOCUME~1/user/LOCALS~1/Temp/4/ccPpbG2U.o -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc-lib/i686-pc-cygwin/3.2/crtend.o /cygdrive/c/DOCUME~1/user/LOCALS~1/Temp/4/ccPpbG2U.o(.text+0x53):hello.c: undefined reference to [EMAIL PROTECTED]' collect2