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 error :( -- Alex Pyltsov -- Un

RE: win32api_NtQuerySystemInformation compiling problem

2003-06-06 Thread Chris January
> 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 Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.ht

win32api_NtQuerySystemInformation compiling problem

2003-06-06 Thread Alex Pyltsov
Hi, I've just try to use native w32api function NtQuerySystemInformation, but linker fail with following. Is this something trivial I am missing? Thanks for any help. > cat test.c #include #include int main(void) { char buf[65535]; int len; NtQuerySystemInformation(5,buf,65535,&len); re