Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    Security problem using "Camera Engine API" in DLL


    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,

  2. #2
    Registered User
    Join Date
    Mar 2003

    Re: Security problem using "Camera Engine API" in DLL

    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
    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
    Replies: 7
    Last Post: 2009-02-06, 07:23
  4. Signing problem concerning using DLL files
    By whitewinds in forum Symbian
    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