Click here to get back home

IMEI problem

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
IMEI problem Deepak Sharma 06-03-2005
---> Re: IMEI problem Gernot Schrumpf06-03-2005
Posted by Deepak Sharma on June 3, 2005, 12:38 am
Please log in for more thread options
Hi,

I have developed code to programatically extract the IMEI number.This code
uses TAPI and exTAPI functionality.But the LINEERR_OPERATIONUNAVAIL is
reported when the lineGetGeneralInfo(..) function is called.
The code is

LINEGENERALINFO *lpLineGeneralInfo;
lpLineGeneralInfo = (LINEGENERALINFO *)malloc(sizeof
(LINEGENERALINFO)+100);
memset(lpLineGeneralInfo,0,sizeof(LINEGENERALINFO)+100);
lpLineGeneralInfo->dwTotalSize = sizeof(LINEGENERALINFO)+100;
lineGetGeneralInfo(g_hLine,lpLineGeneralInfo);



Regards,
Deepak Sharma



Posted by Gernot Schrumpf on June 3, 2005, 2:48 pm
Please log in for more thread options
"Deepak Sharma" wrote:
> Hi,
>
> I have developed code to programatically extract the IMEI number.This
> code
> uses TAPI and exTAPI functionality.But the LINEERR_OPERATIONUNAVAIL is
> reported when the lineGetGeneralInfo(..) function is called.

I think it's a privileged function, so you need to sign your application
with a privileged certificate. If you work with eVC there are two
different certificates, one unprivileged and a privileged one
(Smartphone Privileged Development Code-Signing for <your name>). Try to
sign your app with the later one. Unfortunatelly you can't use this
certificate for deployment.

Regards,
Gernot




Posted by Deepak Sharma on June 3, 2005, 6:00 am
Please log in for more thread options
Thanx for the quick reply...

Can plz elaborate the fact in more detail...



Posted by Gernot Schrumpf on June 3, 2005, 4:03 pm
Please log in for more thread options
MSDN has an article about code signing and security. The link is
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/smartphone_security.asp.
I
hope it helps.

Regards,
Gernot




Similar ThreadsPosted
IMEI VB .net March 21, 2006, 1:40 pm
IMEI July 5, 2006, 8:36 am
Modify IMEI July 4, 2005, 5:44 pm
IMEI, Contacts, etc. October 31, 2005, 8:34 am
Get GUID or IMEI May 18, 2006, 6:23 am
IMEI & IMSI August 6, 2006, 8:43 pm
Query IMEI via OMA DM August 28, 2007, 9:54 am
how to grab IMEI or UUID September 4, 2006, 11:36 am
Getting IMEI makes the handset to auto-reboot!! June 21, 2005, 11:37 pm
SQL CE problem June 9, 2005, 5:10 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap