diff --git a/src/win/win_dynld.c b/src/win/win_dynld.c index 41942ba61..96ed1666e 100644 --- a/src/win/win_dynld.c +++ b/src/win/win_dynld.c @@ -55,7 +55,7 @@ dynld_module(const char *name, dllimp_t *table) /* See if we can load the desired module. */ if ((h = LoadLibrary(name)) == NULL) { - dynld_log("DynLd(\"%s\"): library not found!\n", name); + dynld_log("DynLd(\"%s\"): library not found! (%08X)\n", name, GetLastError()); return(NULL); } @@ -74,6 +74,7 @@ dynld_module(const char *name, dllimp_t *table) } /* All good. */ + pclog("loaded %s\n", name); return((void *)h); }