ERROR_NOT_READY (21) in ne_module.c

Alexandre Julliard julliard at
Mon May 9 04:14:32 CDT 2005

Felix Nawothnig <felix.nawothnig at> writes:

> Since bug 2131 was closed I'll paste it here again:
> ne_module.c explicitly sets errorcode 21 (ERROR_NOT_READY) when
> (
>    LoadLibraryA()ing the owner of a 16bit dll failed
> or
>    the search for the 16bit dll returned a real (.so)
>    dll and not a symlink to the owner
> ) and trying to load a native version of the 16bit dll failed with
> (dlls/kernel/ne_module.c:1218)
> Anyone knows the reason for that behavior?

Error 21 in LoadModule16 means that the file exists but is 32-bit,
which seems to be the appropriate error in that case.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list