Groups > Symbian > Symbian signing > Re: problem with dev cert and permissions




problem with dev cert and permissions

problem with dev cert and permissions
Sun, 10 Sep 2006 21:57:05 +080
i have a devcert with full capabilities. one of the APIs i use requires 
SwEvent capability.

i checked and confirmed from www.symbiansigned.com that my devcert includes 
that capability.

however, i am still getting errors in calling the API. the API is for 
capturing hotkeys. i keep getting KErrPermissionDenied.

????? 

Post Reply
Re: problem with dev cert and permissions
Mon, 11 Sep 2006 23:26:42 -000
Hi
Its possible your process is trying to load a DLL which does not have the
capability of your process. If you really have ALL capabilities that is
likely - most Symbian DLLs have capability ALL-Tcb, so if your process has
Tcb, then it won't be able to load very much.

There is an easy way to find out.... follow the instructions in
FAQ-1344   How do I Enable Platform Security Diagnostics on the Symbian OS
Emulator?
http://www3.symbian.com/faq.nsf/AllByDate/138E15D7FA8E656D802570C0001BDB3B?OpenD
ocument

Regards
H

"droll" <doh@invalid.com> wrote in message
news:W8NoPFO1GHA.5096@UKCOL01WWEB01.symbian.intra...
> i have a devcert with full capabilities. one of the APIs i use requires
> SwEvent capability.
>
> i checked and confirmed from www.symbiansigned.com that my devcert
includes
> that capability.
>
> however, i am still getting errors in calling the API. the API is for
> capturing hotkeys. i keep getting KErrPermissionDenied.
>
> ?????
>
>

Post Reply
Re: problem with dev cert and permissions
Tue, 12 Sep 2006 08:34:46 +080
i did try this. i disabled platform security on the emulator and my 
application works fine.

so you reckon the problem is the DLL i'm trying to load?

so there's no way for me to use capturekey from RWindowGroup()? oh my...

"Hamish Willee" <hamish_w@tpg.com.au> wrote in message 
news:8RRmHof1GHA.5096@UKCOL01WWEB01.symbian.intra...
> Hi
> Its possible your process is trying to load a DLL which does not have the
> capability of your process. If you really have ALL capabilities that is
> likely - most Symbian DLLs have capability ALL-Tcb, so if your process has
> Tcb, then it won't be able to load very much.
>
> There is an easy way to find out.... follow the instructions in
> FAQ-1344   How do I Enable Platform Security Diagnostics on the Symbian OS
> Emulator?
>
http://www3.symbian.com/faq.nsf/AllByDate/138E15D7FA8E656D802570C0001BDB3B?OpenD
ocument
>
> Regards
> H
>
> "droll" <doh@invalid.com> wrote in message
> news:W8NoPFO1GHA.5096@UKCOL01WWEB01.symbian.intra...
>> i have a devcert with full capabilities. one of the APIs i use
requires
>> SwEvent capability.
>>
>> i checked and confirmed from www.symbiansigned.com that my devcert
> includes
>> that capability.
>>
>> however, i am still getting errors in calling the API. the API is for
>> capturing hotkeys. i keep getting KErrPermissionDenied.
>>
>> ?????
>>
>>
>
> 

Post Reply
Re: problem with dev cert and permissions
Tue, 12 Sep 2006 08:51:28 +080
btw, i've read and modified my MMP file for CAPABILITY keyword. however, i 
don't know where to get the vendorid. i've simply put it as 1 since setting 
it to 0 means it is not required for security checks (which i assume means 
my exe won't have any privileges).

help??

"droll" <doh@invalid.com> wrote in message 
news:C8xbOOg1GHA.5056@UKCOL01WWEB01.symbian.intra...
>i did try this. i disabled platform security on the emulator and my 
>application works fine.
>
> so you reckon the problem is the DLL i'm trying to load?
>
> so there's no way for me to use capturekey from RWindowGroup()? oh my...
>
> "Hamish Willee" <hamish_w@tpg.com.au> wrote in message 
> news:8RRmHof1GHA.5096@UKCOL01WWEB01.symbian.intra...
>> Hi
>> Its possible your process is trying to load a DLL which does not have
the
>> capability of your process. If you really have ALL capabilities that
is
>> likely - most Symbian DLLs have capability ALL-Tcb, so if your process

>> has
>> Tcb, then it won't be able to load very much.
>>
>> There is an easy way to find out.... follow the instructions in
>> FAQ-1344   How do I Enable Platform Security Diagnostics on the Symbian

>> OS
>> Emulator?
>>
http://www3.symbian.com/faq.nsf/AllByDate/138E15D7FA8E656D802570C0001BDB3B?OpenD
ocument
>>
>> Regards
>> H
>>
>> "droll" <doh@invalid.com> wrote in message
>> news:W8NoPFO1GHA.5096@UKCOL01WWEB01.symbian.intra...
>>> i have a devcert with full capabilities. one of the APIs i use
requires
>>> SwEvent capability.
>>>
>>> i checked and confirmed from www.symbiansigned.com that my devcert
>> includes
>>> that capability.
>>>
>>> however, i am still getting errors in calling the API. the API is
for
>>> capturing hotkeys. i keep getting KErrPermissionDenied.
>>>
>>> ?????
>>>
>>>
>>
>>
>
> 

Post Reply
Re: problem with dev cert and permissions
Tue, 12 Sep 2006 15:42:08 +010
The Vendor ID is just available for identification. It's not currently used
by Symbian OS, so won't have any effect on the application or how it runs.
I'd suggest leaving it set to zero unless you have an allocated vendor ID.

Mark
Symbian Developer network


"droll" <doh@invalid.com> wrote in message
news:z8UYkXg1GHA.5056@UKCOL01WWEB01.symbian.intra...
> btw, i've read and modified my MMP file for CAPABILITY keyword. however, i
> don't know where to get the vendorid. i've simply put it as 1 since
setting
> it to 0 means it is not required for security checks (which i assume means
> my exe won't have any privileges).
>
> help??
>
>

Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact