Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User esanchis's Avatar
    Join Date
    Mar 2003
    Posts
    9
    Hi,

    I am using the Camera Engine API (the API plug-in) to capture images in my application. I have run successfully the "CCaeEx" example in some FP1 devices, and now I am trying to encapsulate part of its code in a DLL, so the main app can use the camera with calls to this DLL.

    But I cannot get it to work: when the code is to execute the following line:

    iCaeEngine = CCaeEngine::NewL();

    it throws the following message: "Unable to execute file for Security Reasons". It works well in the example but, for some reason, it does not work when inside the DLL. I have checked that both the main project and the DLL project have the "UserEnvironment" capability, which is needed to use the camera.

    Any ideas why this is happening...?

    Thanks in advance,
    Kike

  2. #2
    Registered User esanchis's Avatar
    Join Date
    Mar 2003
    Posts
    9
    Ups... my fault.

    The problem was the capability. It was set in the mmp file, but I guess I had to "clean" the project before; for some reason it was not seeing the changes. Now it works correctly.

    Sorry for the "dummy" post

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian C++
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. 编译Qt样例出错,请看如下
    By TD3 in forum [Archived] Qt General ( Qt技术)
    Replies: 14
    Last Post: 2009-12-24, 03:23
  3. Problem with DLL
    By fresher in forum Symbian C++
    Replies: 7
    Last Post: 2009-02-06, 07:23
  4. Signing problem concerning using DLL files
    By whitewinds in forum Symbian C++
    Replies: 15
    Last Post: 2007-05-08, 09:57
  5. [6100] Security level problem
    By hkvl in forum General Development Questions
    Replies: 0
    Last Post: 2003-12-26, 10:34

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