[PATCH] svchost: Add LOAD_WITH_ALTERED_SEARCH_PATH flags to LoadLibraryEx in AddServiceElem

Hao Peng penghao at linuxdeepin.com
Wed Sep 17 04:39:40 CDT 2014

try to fix up bug 36800.

svchost.exe try to load a dll type service. but the dll depends on some other dll files in the same path, but due to current code, these dlls will not be found by the loader. So  I add LOAD_WITH_ALTERED_SEARCH_PATH flags with LoadLibraryEx in AddServiceElem.

 programs/svchost/svchost.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-up-service-dll-importing-search-path-bug-36800.txt
Type: application/octet-stream
Size: 563 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140917/80cbcb60/attachment.obj>

More information about the wine-patches mailing list