Page 1 of 1

Need help!!! Windows mobile 5, imgdecmp.dll fix, dead link.

PostPosted: Jul 31, 2007 @ 5:05am
by slava__
I'm read post
http://www.pocketmatrix.com/forums/view ... hp?t=22270
about how make fix.
supersample.zip from Jaimi worked fine in WM5.
I'm make changes in image.cpp game.cpp
VS2005 comple give error:
".\source\image.cpp(167) : error C2664: 'Frog::CreateSurface' : cannot convert parameter 1 from 'ATL::CComPtr<T>' to 'HBITMAP'"
code image.cpp(167) > return CreateSurface(pImg);
What wrong?
Need correct code in image.cpp?

Link from Jaimi is dead
http://www.aztica.com/pocketfrog.zip

Help!

PostPosted: Jul 31, 2007 @ 12:01pm
by Dan East
Try adding the following line directly before the DecompressImage function:

static Surface* CreateSurface( IImage *img );

Dan East