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

Dmitry Timoshkov dmitry at baikal.ru
Mon Nov 26 14:14:48 CST 2018


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

> > 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.
> 
> Thanks, sounds sensible.
> 
> Apart from current working directory and PE directory, which paths 
> should I best write tests for?

Create temp path with an image, add it to %PATH%, call LoadImage, and
see what happens?

-- 
Dmitry.



More information about the wine-devel mailing list