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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog:
* when registering a dll, search the dll's directory for dll dependencies too
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)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux