Fabian Maurer dark.shadow4@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?