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),
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),