msi: Print more information on error

André Hentschel nerv at dawncrow.de
Sat Jun 12 06:39:06 CDT 2010


i had that case with
err:msi:ACTION_CallDllFunction GetProcAddress for function L"findApplications" in dll L"C:\\users\\dawncrow\\Temp\\msi94eb.tmp" failed
so you see that just the function is not info enough.
---
 dlls/msi/custom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 5a1787f..f0d39d0 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -725,7 +725,7 @@ static DWORD ACTION_CallDllFunction( const GUID *guid )
             ERR("failed to create handle for %p\n", remote_package );
     }
     else
-        ERR("GetProcAddress(%s) failed\n", debugstr_w( function ) );
+        ERR("GetProcAddress for function %s in dll %s failed\n", debugstr_w( function ), debugstr_w( dll ) );
 
     FreeLibrary(hModule);
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list