PDA

View Full Version : Ril and smartphone


cerro79
11th July 2005, 04:51 PM
Hi,
I follow every comment present in this form about using ril.dll for accessing cellID and so on.
I still have a problem with RIL. All compilation process work well but when I start my application on Phone (MPX220) an error responce occurs...

Thanks

dcs
11th July 2005, 05:16 PM
Hi,

what error exactly?

cerro79
11th July 2005, 05:39 PM
error: 80004005

cerro79
11th July 2005, 05:41 PM
Using the code present in itsutils from xda-developpers.com after calling RIL_Initialize....

dcs
11th July 2005, 06:45 PM
Hi,

Unfortunately, 80004005 is defined as 'Unspecified error' (E_FAIL), which doesn't help much. However, given that you are using a Smartphone, the probable cause is that you are using a Priviledged function. Smartphones require applications to be signed in order to use priviledged functions.

For further information about this, see here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/smartphone_security.asp).

cerro79
12th July 2005, 02:38 PM
Thanks!! now it seem works even though some other error code 80004001 or 80070057...

dcs
12th July 2005, 04:14 PM
Hi,

Error 800004001 is 'Not implemented error' (E_NOTIMPL) which means that a function you are trying to use is not supported by the service provider.

Error 80070057 is 'One or more arguments are not valid error' (E_INVALIDARG) which means that either an argument you are providing to a function is incorrect, or that you have not specified the valid argument specifiers (dwParams) required by some structures used in some functions.

A good place to look for what errors mean is here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csvr2002/htm/cs_rp_comparammem_isay.asp)

cerro79
12th July 2005, 06:52 PM
thanks a lot...
One more question:
- How can I get the information that Ril_CellTowerInfo should be able to provide?
on my phone exist one process "tstutil" that is the engineering mode menu...