Page 1 of 1

Problem with image loading in the future?

PostPosted: Aug 16, 2005 @ 1:13pm
by Slim

PostPosted: Sep 3, 2005 @ 5:14am
by muff
yes, in Windows Mobile 5 they have knackered imgdecmp.dll (or at least it's likely to fail with current hacks)

but the replacement code is not that difficult and there is a sample in the new SDK's that means it can be up and running pretty quickly (I got it up and running in less than an hour in my non-PF environment)

so I dont think that patching a fix into PF will take long

PostPosted: Sep 9, 2005 @ 8:38am
by oliverzy
yes, I have encountered this problem in my new Windows Mobile 2005.At first I thought PocketHAL doesn't support Mobile 2005, at last I found the DecompressImage function cause a infinite loop when it load image.Now I use SHLoadImageFile to replace it,it works well.

PostPosted: Sep 16, 2005 @ 9:14pm
by muff

WM2005 stuff...

PostPosted: Sep 26, 2005 @ 3:13pm
by Birdiestyle

PostPosted: Sep 26, 2005 @ 5:16pm
by Presto
I'd be interested in hearing a solution too... Since the pre-2003(?) OS doesn't have SHLoadImageFile and the new 2005 OS doesn't have imgdecmp.dll, has anyone tweaked PF to load using one or the other, based on what's available?

-John

PostPosted: Sep 28, 2005 @ 10:42am
by muff
personally I created a separate code path for each OS (switches based on defines) and compile for each OS separately - not ideal, but works

and there are loads of other things to be aware of that are WM5 only, hires support, screen rotation etc - so for me it made sense to create separate codepaths and compile for each OS separately