Paul Vriens : winetest: Fix winetest to cope with com dlls.

Alexandre Julliard julliard at winehq.org
Thu Sep 17 13:52:58 CDT 2009


Module: wine
Branch: master
Commit: 5b600b57c4714ed4c6c77b3ebf1f879dac572afa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5b600b57c4714ed4c6c77b3ebf1f879dac572afa

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Sep 17 11:47:47 2009 +0200

winetest: Fix winetest to cope with com dlls.

---

 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);
     }
 




More information about the wine-cvs mailing list