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

Newbie problem on P800 with CEikMenuBar::ChangeMenuBarL

0 replies · 1,830 views · Started 18 February 2003

Hi P800 coders,

I just started an app based on the "Skeleton" UIQ example code, and have run into a problem switching menu bars with CEikMenuBar::ChangeMenuBarL, where I get an Information dialog with the following message:

z:\System\Data\eikon.mbm
Unexpected end of file

It only happens on the device, not in the emulator. I have two views derived from the CApplicationNameBaseView class, and two MENU_BAR resources and panes in an include from the .rss file. Using User::Exit, I've narrowed down the error dialog to the ChangeMenuBarL function, called from the view base class when I give a command to switch views.

The eikon.mbm file only exists under the epoc32 emulator directories in my SDK directories, not under ARMI which I'm building as the target in CodeWarrior, so I'm suspicious I've got some sort of emulator reference in my ARMI code, though it's not obvious to me how I might've done that.

Thanks for any help.