AppLog("Error in Image construct");
return r;
}
- __pLeftItemBitmap = pImage->DecodeN(L"/Res/Left_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888);
+ __pLeftItemBitmap = pImage->DecodeN(App::GetInstance()->GetAppRootPath() + L"/Res/Left_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888);
if (__pLeftItemBitmap == null)
{
AppLog("Unable to Load Left button image, not creating form now...");
return E_FAILURE;
}
- __pRightItemBitmap = pImage->DecodeN(L"/Res/Right_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888);
+ __pRightItemBitmap = pImage->DecodeN(App::GetInstance()->GetAppRootPath() + L"/Res/Right_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888);
if (__pRightItemBitmap == null)
{
AppLog("Unable to Load Right button image, not creating form now...");