[PATCH] user32: LoadImage should search image in PE directory, not the working directory

Alexandre Julliard julliard at winehq.org
Mon Nov 26 08:57:07 CST 2018


Fabian Maurer <dark.shadow4 at web.de> writes:

> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46186
> Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
> ---
>  dlls/user32/cursoricon.c       | 15 ++++++++-
>  dlls/user32/tests/cursoricon.c | 56 ++++++++++++++++++++++++++++++++++
>  2 files changed, 70 insertions(+), 1 deletion(-)

This would need more tests, but it's pretty unlikely that it would
search only the exe directory. Probably it should be using something
like SearchPathW.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list