From 967f73eaef84c796940b59eafaef2c028cd0420f Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 26 Nov 2010 14:03:48 +0100 Subject: [PATCH] msi: Trace errors from LoadLibraryShim. --- dlls/msi/assembly.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/msi/assembly.c b/dlls/msi/assembly.c index ae2338357ea..b1a7ee02e7f 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; } -- 2.11.4.GIT