All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Old 17-03-2003, 04:49 PM
rmmc rmmc is offline
Registered User
Join Date: Mar 2003
Posts: 5
rmmc is on a distinguished road
Problems compiling the Asteroids game code


I'm trying to compile the Asteroids game, but there's a line of code which gives a compilation error:

[code:1]commandId = aMenuPane->MenuItemCommandId(c);[/code:1]

c:\Temp\asteroids\Asteroids\GameAppUi.cpp(229): error C2039: 'MenuItemCommandId' : is not a member of 'CEikMenuPane'

When I check the CEikMenuPane inside Visual, it doesn't show the MenuItemCommand, but all the references mention it... what could be the problem?

(The asteroids game can be found here:


asteroids, code, compiling, game, problems

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:47 AM.

vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy