[2/4] msi: Trace errors from LoadLibraryShim.
Hans Leidekker
hans at codeweavers.com
Fri Nov 26 07:03:48 CST 2010
---
dlls/msi/assembly.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/assembly.c b/dlls/msi/assembly.c
index ae23383..b1a7ee0 100644
--- a/dlls/msi/assembly.c
+++ b/dlls/msi/assembly.c
@@ -38,6 +38,7 @@ static BOOL init_function_pointers( void )
{
static const WCHAR szFusion[] = {'f','u','s','i','o','n','.','d','l','l',0};
HMODULE hfusion, hmscoree, hsxs;
+ HRESULT hr;
if (pCreateAssemblyCacheNet) return TRUE;
@@ -52,9 +53,10 @@ static BOOL init_function_pointers( void )
FreeLibrary( hmscoree );
return FALSE;
}
- if (FAILED( pLoadLibraryShim( szFusion, NULL, NULL, &hfusion )))
+ hr = pLoadLibraryShim( szFusion, NULL, NULL, &hfusion );
+ if (FAILED( hr ))
{
- WARN("fusion.dll not available\n");
+ WARN("fusion.dll not available 0x%08x\n", hr);
FreeLibrary( hmscoree );
return FALSE;
}
--
1.7.1
More information about the wine-patches
mailing list