You propably should have checked the date when it was written, it is really old thread, and those APIs are for Symbian OS 6.x, i.e. 1st edition.. With 3rd edition you should use CTelephony API instead.
Re: Undefined Identifier-RBasicGsmPhone and MBasicGsmPhoneNetwork.
u are right.But i also use the code which uses CTelephony API's.i got that code from some link.It has been implemented using Active object.i build my application for Navigator.But i didn't get Cell ID.I am giving the .cpp and .h files for your reference.
class CNetworkApp : public CActive
CNetworkApp(TUint& CellId,TDes& NetworkId,TDes& CountryId,TDes& LongName);
static void GetNetworkParameters(TUint& CellId,TDes& NetworkId,TDes& CountryId,TDes& LongName);
These are the pure virtual methods from CActive that
MUST be implemented by all active objects
I would look for the version that does not use the ActiveScheduler::Startm, it might work better, also what capabilities you have given to your process, and if it does not work, then you should debug it and see what does get executed, and what does not.