Read-only archive of the All About Symbian forum (2001–2013) · About this archive

"systemerror" when loading bitmaps

0 replies · 1,533 views · Started 14 January 2005

hi all!

again a question from a newie:

i extended an existing application with a simple piece of code to display a bitmap on the screen. it all works fine on the epoc emulator. i can create the sis file for the mobile device and install it - all without errors. but when i launch the application on my SX1, i get a "systemerror" ... no further information.

by commenting out pieces of my new code, i found out that the error occurs when i'm loading the bitmap:

...

#include "bitmapmethods.h"
_LIT(KMBMFileName,"c:\\system\\apps\\myapp\\myappbitmaps.mbm"😉;

...

iBitmap = NBitmapMethods::CreateBitmapL(KMBMFileName, EMbmMyappbitmapsMypicture);

...

the multibitmap file is at the correct location on the phone.

any ideas what's going wrong? i think it has sth to do with the location of the mbm file, the location of the application or memory usage ...

thx in advance
mugi