Page 1 of 1

problem with patch to PF 8.0 & WM5.

PostPosted: Dec 8, 2006 @ 10:10am
by maskin
Hello every one !
I have some problem with patch to PF 8.0 & WM5.
I replace image.h, image.cpp (download from http://www.pocketmatrix.com/forums/view ... hp?t=22270) in PF Source folder.

At WM5 emulation game don’t working, down at LoadImage(dislay, filename);
As loaded filename I use bmp, gif, png formats – every time down at LoadImage.
What the problem ?

I use eVC++ 3.0, PF 0.8.1, PH 0.7.7, SDK 2002

PostPosted: Dec 8, 2006 @ 8:09pm
by Presto
Which solution did you use? Jaimi's or mine?

If you used mine, I assume PF recompiled without any problems, for the PPC2002 build in both Debug and Release?

I compile in eVC3 for PPC2002 also, and my builds work in the WM5 emulator and on all of my devices (PPC2002, WM2003, WM2003SE and WM5), so more information would help. If I had to guess, I'd say it's looking in the wrong folder for your images, but LoadImage should return a 0 in that case. Of course, if you call SetColorMask after a failed LoadImage, it'll crash.

Hope that helps,
-John

PostPosted: Dec 9, 2006 @ 10:58am
by maskin
All done. I fix problem - i was include (by IDE) image.cpp to project tree and rebuild, game was runing under WM5 !

I was think, that eVC IDE use source files form folders entered at "Options". But i was wrong :(