Hi Alexandre, This patch was missed, does it no longer apply? Also is it OK to just put the changelog as the first line of the email like that? thanks -mike On Wed, 22 Dec 2004 18:19:47 +0000, Mike Hearn wrote:
Give a more informative error when a DLL fails to initialize --- dlls/ntdll/loader.c (revision 3) +++ dlls/ntdll/loader.c (local) @@ -893,9 +893,14 @@ static NTSTATUS process_attach( WINE_MOD WINE_MODREF *prev = current_modref; current_modref = wm; if (MODULE_InitDLL( wm, DLL_PROCESS_ATTACH, lpReserved )) + { wm->ldr.Flags |= LDR_PROCESS_ATTACHED; + } else + { + ERR("Initialization of %s failed\n", debugstr_w(wm->ldr.BaseDllName.Buffer)); status = STATUS_DLL_INIT_FAILED; + } current_modref = prev; }