[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    RE: DLL loading prolem when injecting into another process
From:       "Rolf Kalbermatter" <r.kalbermatter () hccnet ! nl>
Date:       2008-07-31 20:46:43
Message-ID: 9885634A383842D2815FCC53C4B2B2FD () NATERS
[Download RAW message or body]

Hongbo Ni wrote:

>I think when processing the imports for C:\DirA\B.dll to load C.dll, it
should
>try C:\DirA\C.dll first, then form the standard load locations. 
>
>I think it should call load_library( "C:\DirA\C.dll ",
LOAD_WITH_ALTERED_SEARCH_PATH)
>so C.dll can be loaded into C:\DirX\X.exe process.

Not sure about what you mean with injecting here but in normal application
operation
when loading a DLL explicitedly from a specific directory (which is not the
current
directory nor the application directory or one of the standard search
paths), Windows
will not resolve to other DLLs implicitedly loaded by that DLL eventhough
they are in
the same directory than the referencing DLL.

Rolf Kalbermatter




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic