changeset 341:ac58837db8ad

more printf cosmetic on DLL loader
author arpi_esp
date Wed, 11 Apr 2001 02:10:47 +0000
parents 1f7c824033fb
children ac9bfa4a1005
files loader/win32.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Wed Apr 11 01:38:57 2001 +0000
+++ b/loader/win32.c	Wed Apr 11 02:10:47 2001 +0000
@@ -1587,9 +1587,10 @@
 	else
 	    strcat(qq, name);
     }
-    printf("Loading DLL: %s\n", qq);
+    printf("Loading DLL: %s", qq);fflush(stdout);
 //    printf("Entering LoadLibraryA(%s)\n", name);
     result=LoadLibraryA(qq);
+    if(!result) printf("  FAILED!\n"); else printf("  OK\n");
 //    printf("Returned LoadLibraryA(0x%x='%s'), def_path=%s => 0x%x\n", name, name, def_path, result);
     return result;
 }