Well I'm using PF but cause it's something new for me I don't understand how to do this: display a gif picture from a file inside a window of my program so it can move with it. Thanks for your answers!
i'm not sure if i understood your problem correctly.
have a look at the blit sample which comes with pocketfrog. it uses images (surfaces) created from resource bitmaps (stored inside the exe file).
the only thing you should have to change is to replace the resource id in LoadImage() with the filename string of you gif files.
pocketfrog supports loading gifs, etc... by using imgdecmp.dll which is a std. dll on windows ce. so everything sure work fine with that...
hope this helps,
DANIEL
I've heard that future versions of Windows CE will not include that dll. If there is a particular reason you want to use the GIF format (IE showing content retrieved off of the web, importing various types of files, etc) then that is fine. However if you are electing to use GIF as an image format for a game or other app, where you can use any format you like, then you should NOT use GIF. GIF is licensed by Compuserve, and a royalty must be paid to them for source code that reads the GIF format. Microsoft paid the royalty, and you're covered if you use their imgdecmp.dll library. However if that goes away, then you will have to pay one way or another to use that format.
TGA, PNG, etc, are much better choices than GIF.
Dan East
for me I used SHLoad , a function useful to load gif, bmp, jpg, ... files. It is NOT in any help of any program, not even in msdn. But it works fine.
If you want the code i used...