Hi CodeFlatter,
i would suggest to completely avoid using SHLoadImageFile() for Windows Mobile 5.x and higher since it has some known issues regarding large images that lead to unpredictable failures while loading some images. Also avoid imgdecmp since it is deprecated. Better use the .
It also supports loading thumbs, sizing operations, different decoders and also runs under pure WinCE. Only drawback: A little bit more code and usage of COM. But it is worth the effort.
Regards,
Chris[/url]