Subject: Re: libkernl32a.lib
From: [email-masked] (Anders Norlander)

16 Sep 1998 04:47:31 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]

On Sat, 12 Sep 1998, Ben Elliston wrote:

> 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?

The reason it is not in the import library, is
probably because it is a quite new function and
not documented in older docs. If you link an app
that uses `TryEnterCriticalSection' and try to
run it under W95 you'll get a message telling you
that it the function does not exist (don't know
about W98 though). So if you want your apps to run
under both W95 and NT shouldn't use it, otherwise
it is easy to add it to your `libkernel32.a', just
rebuild the whole library after adding
`TryEnterCriticalSection@4' to the list of exports.

Regards,
Anders
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".