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

Get IMEI code

6 replies · 3,037 views · Started 06 April 2004

Hi,

anybody know how obtain the IMEI code from C++ development and save it into a variable to print it into screen?

Thank you in advance,

S.

//A typedef for TBuf
TPlpVariantMachineId machineId;
PlpVariant: :GetMachineIdL(machineId);

Will return a string containing the IMEI number

I see, well i did have a look at an online tutorial for opl but i dont remember seeing anything about the IMEI, try the opl forum.

It will work in OPX, since OPX is just a c++ extention that can be called from OPL. If you mean OPL, then that question has been answered by the other posters.