Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User rquijanol's Avatar
    Join Date
    Oct 2007
    Location
    Mexico
    Posts
    6
    Here again, having lots of problems.

    Finally got the software signed, but when I try to execute keep telling me

    "Unable to execute file for security reasons"

    In some fast facts the application only do this:

    TInt i = 0;
    MCameraObserver* iCameraObserver = NULL;
    TInt aCameraHandle = 0;
    CCamera* iCamera;


    if(CCamera::CamerasAvailable() >0){
    iCamera = CCamera::NewL(*iCameraObserver, aCameraHandle);
    iCamera->Reserve();
    iCamera->PowerOn();
    for(i=0; i<1000000; i++){

    }
    iCamera->Release();
    }

    Any advice will be great, because I need to implement a video recorder.

    Thanks in advance

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    basically you need to include all apabilities your application required in the mmp file before building it, and then you can only use capabilities that are included in the certificate you are using for signing the installtion file.

    So first check the SDK help documentations for the class and see which capabilities are required and add them into your project.

    yucca

  3. #3
    Regular Contributor lucky@symbian's Avatar
    Join Date
    Jul 2007
    Location
    Bangalore
    Posts
    91
    Yes the problem definitely seems to be in the capabilities front.

    One more important thing to look into is that your base.exe must never have more capabilities than any static dll it tries to load(especially the ones that u might have created, as most of the system dlls have ALL-TCB).

    Also see if any of the APIs u use require any special capabilities(UserEnvironment ,MultimediaDD are a must in your case by the look of it)
    Last edited by lucky@symbian; 2007-10-29 at 06:02.

Similar Threads

  1. Replies: 2
    Last Post: 2007-06-25, 23:49
  2. self signed application capabilities
    By froten in forum Symbian C++
    Replies: 9
    Last Post: 2007-06-13, 16:55
  3. symbian signed testing problem.
    By anglina in forum Symbian C++
    Replies: 0
    Last Post: 2007-02-01, 10:15
  4. execute one application from another
    By dijox in forum Symbian C++
    Replies: 1
    Last Post: 2002-07-01, 11:23
  5. Replies: 2
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved