×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    6

    Carbide default project requires ReadDeviceData capabilities

    Hi there

    I've found a some strange behaviour in Carbide.

    If you create a Symbian OS C++ Project with the S60 GUI Application template in Carbide 2.0 the project Carbide generates always seems to require ReadDeviceData capability. At least according to the epocwind.out file.

    I have enabled all Platform security diagnostics in the epoc.ini file:
    PlatSecDiagnostics ON
    PlatSecEnforceSysBin ON
    PlatSecProcessIsolation ON
    PlatSecEnforcement ON
    PlatSecDisabledCaps NONE

    And then starting the recently created "empty" project I get the following in epocwind.out:
    *PlatSec* ERROR - Capability check failed - Process HelloWorld was checked by Thread HelloWorld::HelloWorld and was found to be missing the capabilities: ReadDeviceData . Additional diagnostic message: Checked whilst trying to Get a Publish and Subscribe Property

    The same seems to apply if you import a Bld.inf file in Carbide 2.0. You can verify this with HelloWorldBasic.

    Has anyone seen the same thing? And is there a solution to this? Or should I just disregard the error message in epocwind.out?

    BR,
    Johannes

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Carbide default project requires ReadDeviceData capabilities

    Your code is very likely not trying to access any P&S keys so the error is not your problem, just ignore it.

    Not all errors are fatal, some lines like the ones below anywhere in the system code would generate the error message you see while having no impact on application's execution:
    Code:
    TRAPD(error, TryAccessPSAlthoughWillAlwaysFailL());
    if(error!=KErrPermissionDenied)
        User::Leave(error);
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Carbide Import project not creating SIS
    By strike_noir in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2008-01-17, 13:42
  2. Question about Carbide 1.2 project location
    By Martin_Malek in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2007-09-06, 08:07
  3. couldn create project in Carbide c++
    By suganyasada in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-12-19, 13:23
  4. Changing project main in Carbide
    By pgane in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-11-29, 23:06
  5. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •