From 828fd75a961b76db474401ce6f0925f3c5b77fb8 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sat, 30 Jul 2005 19:04:14 +0000 Subject: [PATCH] Improve regsvr32 output. --- programs/regsvr32/regsvr32.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c index 267284b2ba1..7fd9c93e12e 100644 --- a/programs/regsvr32/regsvr32.c +++ b/programs/regsvr32/regsvr32.c @@ -86,7 +86,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand if(!*DllHandle) { if(!Silent) - printf("Dll %s not found\n", strDll); + printf("Failed to load DLL %s\n", strDll); exit(-1); } @@ -94,7 +94,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand if(!proc) { if(!Silent) - printf("%s not implemented in dll %s\n", procName, strDll); + printf("%s not implemented in DLL %s\n", procName, strDll); FreeLibrary(*DllHandle); exit(-1); } @@ -113,12 +113,12 @@ static int RegisterDll(const char* strDll) if(FAILED(hr)) { if(!Silent) - printf("Failed to register dll %s\n", strDll); + printf("Failed to register DLL %s\n", strDll); return -1; } if(!Silent) - printf("Successfully registered dll %s\n", strDll); + printf("Successfully registered DLL %s\n", strDll); if(DllHandle) FreeLibrary(DllHandle); @@ -136,12 +136,12 @@ static int UnregisterDll(char* strDll) if(FAILED(hr)) { if(!Silent) - printf("Failed to unregister dll %s\n", strDll); + printf("Failed to unregister DLL %s\n", strDll); return -1; } if(!Silent) - printf("Successfully unregistered dll %s\n", strDll); + printf("Successfully unregistered DLL %s\n", strDll); if(DllHandle) FreeLibrary(DllHandle); @@ -159,12 +159,12 @@ static int InstallDll(BOOL install, char *strDll, WCHAR *command_line) if(FAILED(hr)) { if(!Silent) - printf("Failed to %s dll %s\n", install ? "install" : "uninstall", + printf("Failed to %s DLL %s\n", install ? "install" : "uninstall", strDll); return -1; } if(!Silent) - printf("Successfully %s dll %s\n", install ? "installed" : "uninstalled", + printf("Successfully %s DLL %s\n", install ? "installed" : "uninstalled", strDll); if(DllHandle)