×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    6

    Question TCB capability problem

    Hi,
    Is there anyone knows how to use RRawDisk class, which has the TCB capability, in a program?
    My program uses RRawDisk to get a direct access to the external memory card. So I requested a devcert from Nokia with TCB capability, and I singed my application with that certificate. I can install the program but when I open the application, it returns the error "Unable to execute files for security reasons". I checked all my program, the only API that needs the special capability is RRawDisk. But it seems not working. I am pretty sure that this cerificate generated form Nokia is good and with TCB capability.
    Is there anyone having this problem before and can kindly tell me how to fix this problem?
    Many thanks.

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: TCB capability problem

    TCB is the holiest of the capabilities, I'd be pretty surprised if you actually did get a certificate to use on your own site that actually gives you TCB. So I'd double-check that.

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: TCB capability problem

    Do you have a GUI app with TCB or is it a GUI with virtually no capability that calls the services of a TCB empowered server ?

    A GUI app cannot have TCB capability as most of the DLLs against which it must be linked have at best the "ALL-TCB" capability set. Remember to check emulator's logs for Platform Security related warnings/errors

    You need to write a server application and have it provide raw disk access services to your client.

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: TCB capability problem

    Make sure that you have included all the other capabilities you require in the mmp file and certificate

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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