PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Can't load any BMP using ResourceID in version 1.02

After installed new version, all my BMP's stored as resources refused to load... CreateSurface() returns error code that means "can't find resource". This happens only on WCE, on Win32 all works fine. Maybe I'm doing something wrong?

HINSTANCE hInst = AfxGetInstanceHandle();
CGapiSurface* surface = new CGapiSurface();
int err = surface->CreateSurface(hInst, idBitmap);

// BITMAPNOTFOUND: The specified bitmap could not be found.
//GDERR_BITMAPNOTFOUND = ((HRESULT)0xC8660060),
sorry... i had to read feature list carefully. all BMPs were RLE encoded.
You're not the first one.. RLE-encoding has been bug fixed and re-added in 1.03 (not out yet, but soon)...

/Johan