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

Problems compiling the Asteroids game code

0 replies · 2,459 views · Started 17 March 2003

hello

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:http://www.symbian.com/developer/techlib/apps/asteroids.html