两种加载bitmap方式的区别,请教
iBackgroundImage = new (ELeave) CFbsBitmap();
CleanupStack::PushL(iBackgroundImage);
TInt debugImageLoad = iBackgroundImage->Load( KMultiBitmapFilename,EMbmImagesImage1 );
User::LeaveIfError(debugImageLoad);
CleanupStack::Pop(iBackgroundImage);
-------------------------------------
iBackgroundImage = iEikonEnv->CreateBitmapL( KMultiBitmapFilename,EMbmImagesImage1 );
==============
这两中加载方式有什么区别么?
调试下,前一个debugImageLoad 返回是负值 ,程序运行后,会跳出“programe closed”
后一个正常。