delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/12/10:48:19

From: bje AT cygnus DOT com (Ben Elliston)
Subject: libkernel32a.lib (fwd)
12 Sep 1998 10:48:19 -0700 :
Message-ID: <Pine.LNX.3.95.980912232436.11046A-100000.cygnus.gnu-win32@moshpit.cygnus.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com
Cc: khan AT xraylith DOT wisc DOT edu, Ross Johnson <rpj AT ise DOT canberra DOT edu DOT au>

I've just made a discovery tonight about the libkernel32.a stub library
that comes with Mingw32.  (At least the version I have, which is based on
EGCS 1.1).

It seems that this library may have been generated from a kernel32 DLL on
a non-Windows NT machine.  The reason I say this is that my user-space
library, libpthread32, uses the Win32 API function
``TryEnterCriticalSection''.

It's well documented that the ``TryEnterCriticalSection'' API function is
not available on Win32s and Win95/98.  I don't know if that means that the
function doesn't exist in any library, or if the function should exist in 
a library, but be implemented to return some error code at runtime.  I
believe it is the latter.  In which case, can anyone explain why this
function is missing from the kernel32 stub library?

Thanks, Ben

---
Ben Elliston
bje AT cygnus DOT com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019