Module: wine Branch: master Commit: 967f73eaef84c796940b59eafaef2c028cd0420f URL: http://source.winehq.org/git/wine.git/?a=commit;h=967f73eaef84c796940b59eafa...
Author: Hans Leidekker hans@codeweavers.com Date: Fri Nov 26 14:03:48 2010 +0100
msi: Trace errors from LoadLibraryShim.
---
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; }