Problem getting IMEI no in WM 5.0 PocketPC!!!

Problem getting IMEI no in WM 5.0 PocketPC!!!

Post by jbsp7 » Sat, 09 Feb 2008 18:12:10


Hi All,

I was writing an application for windows mobile 5.0 where i needed to
get the IMEI no of the device.

When i did a linegetdevcaps for all the device id's i couldnt find the
CELLULAR LINE in any of the device id however there was a Generic IrDA
line.

When i tried to negotiate the ext version using
lineNegotiateExtVersion() it is giving a LINEERR_OPERATIONUNAVAIL
error.

Does anyone know what might be the problem??

Thanks in advance.
 
 
 

Problem getting IMEI no in WM 5.0 PocketPC!!!

Post by Peter Foo » Sat, 09 Feb 2008 19:52:19

Without seeing your code it's very difficult to comment. Are you sure the
device is a Phone Edition device? If not that would explain the lack of
cellular device returned.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility