This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: LoadLibrary error 487 (was Re: Please test latest developer snapshot)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 26 Feb 2011 16:40:07 +0100
- Subject: Re: LoadLibrary error 487 (was Re: Please test latest developer snapshot)
- References: <20110217120400.GB29762@calimero.vinschen.de> <4D683A37.5060408@acm.org> <4D6844C8.7010801@acm.org> <20110226103549.GB9392@calimero.vinschen.de> <20110226153246.GC9392@calimero.vinschen.de>
- Reply-to: cygwin-developers at cygwin dot com
On Feb 26 16:32, Corinna Vinschen wrote:
> I tracked the above problem down to this simple change:
>
> -LoadDLLfuncEx (timeGetTime, 0, winmm, 1)
> +LoadDLLfunc (timeGetTime, 0, winmm)
>
> The difference is that the old version did NOT fail, even if LoadlLibrary
> failed. It just returned 1 in that case. The new version now potentially
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Correction: "It just return 0 in that case. "
> fails with the Win32 error returned by LoadLibrary.
Sorry,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat