[PATCH] Fix winetest to cope with com dlls

Paul Vriens Paul.Vriens.Wine at gmail.com
Thu Sep 17 04:47:47 CDT 2009


---
 programs/winetest/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index 10804a6..4287066 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -589,7 +589,7 @@ static HMODULE load_com_dll(const char *name)
     {
         LONG size = sizeof(dllname);
         if(RegQueryValueA(hkey, NULL, dllname, &size) == ERROR_SUCCESS)
-            dll = LoadLibraryExA(dllname, NULL, LOAD_LIBRARY_AS_DATAFILE);
+            dll = LoadLibraryA(dllname);
         RegCloseKey(hkey);
     }
 
-- 
1.6.2.5


--------------000304080102060509030508--



More information about the wine-patches mailing list