"PF uses imgdcmp.dll (sp?) to load images. This dll is different on a desktop then on the Pocket PC. "
Not entirely correct. The desktop doesn't even use imgdcmp.dll.
"On the desktop it only loads .bmp and .dib IIRC, but on Pocket PC it can also load .jpg and .png"
Again not entirely correct.. this is from the image.h in pocketfrog root dir:
"The PocketPC and the desktop PC versions of this function are implemented differently. On PocketPC, we use the "imgdecmp.dll" decompression library to load different file formats without having to deal with legal issues such as GIF decompression.
On the desktop, we use the OleLoadPicture() function to load image files.
This give us access to a similar set of image formats.
The following formats are supported:
PocketPC: .BMP, .GIF, .JPG, .PNG and .XBM
Desktop: .BMP, .GIF, .JPG, .WMF and .ICO"
So you see, using either BMP, GIF or JPG you can have the same code and resources running on the desktop as on your pda. PNG files are only supported on the PDA.
One thing to keep in mind if you work with external resources (i.e. files) is that the paths will be different for the PDA and the desktop so you have to do some #ifdef _WIN32_WCE #else #endif here. Also, WinCE uses widechar/unicode and desktops doesn't (hmm.. perhaps this has changed since XP.. havn't used PF on XP (yet)).
What could the error be then? Hard to say really without more info. It does sound like a MT race condition error (i.e. two threads are trying to write to the same area at the same time) but then PF 0.6.0 is not running multiple threads. What version of PF are you using?. If you are running multiple threads, then you must link to the MT libs on your desktop. There is no distinction between ST and MT (single/multi thread) libraries on WinCE so that's why you won't be able to produce the same errors on your PDA.
What you should do is try to compile and run one of the PF samples on your desktop since they should work on your desktop as well, and they all do the Blit. (I seem to recall they have a project file for VC6). If that works then look at how it links all the stuff together and do your stuff exactly like that.
Hope this info helps. If not there are several threads in this forum that handles the issues of getting your application running on the desktop. I seem to recall I helped Conan with this about a year ago.