when registering a dll, search the dll's directory for dll dependencies too

Mike McCormack mike at codeweavers.com
Thu Oct 9 01:53:25 CDT 2003


ChangeLog:
* when registering a dll, search the dll's directory for dll 
dependencies too
-------------- next part --------------
Index: programs/regsvr32/regsvr32.c
===================================================================
RCS file: /home/wine/wine/programs/regsvr32/regsvr32.c,v
retrieving revision 1.6
diff -u -r1.6 regsvr32.c
--- programs/regsvr32/regsvr32.c	2 Jul 2003 04:37:26 -0000	1.6
+++ programs/regsvr32/regsvr32.c	7 Oct 2003 17:25:01 -0000
@@ -82,7 +82,7 @@
 {
     VOID* (*proc)(void);
 
-    *DllHandle = LoadLibrary(strDll);
+    *DllHandle = LoadLibraryEx(strDll, 0, LOAD_WITH_ALTERED_SEARCH_PATH);
     if(!*DllHandle)
     {
         if(!Silent)


More information about the wine-patches mailing list