×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Dll deployment on device problem

    Hello!

    I am developing a S60 3rd edition application that uses also a dll for specific operation, dll that I should also copy on device (on S60 2nd I used to copy it in the same folder as the application file).

    So, the line in the pkg looks like:
    Code:
    "MyCustomDll.dll" - "!:\sys\bin\MyCustomDll.dll"
    The problem appears when I try to install the sis on the device. The installer stops and throws an error message: "Required application access not granted".

    From this I conclude that the path where that dll must be copied is not the same as the executable of the application.

    So what is the path where to copy a dll used by an application on a 3rd edition device using a sis installer ?

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2004
    Posts
    2,015

    Re: Dll deployment on device problem

    How do you know it is the .dll that is causing the error message? The dll should go into this location.

    If you remove it from the .pkg and .sis does installation of the rest of the application complete without error?

  3. #3
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Dll deployment on device problem

    Quote Originally Posted by hotcheese
    If you remove it from the .pkg and .sis does installation of the rest of the application complete without error?
    Yes, the application installs successfully if the line that copies the dll is removed from the pkg file.

    Should I add some extra capability for this? I only use ReadUserData.

  4. #4
    Registered User
    Join Date
    Nov 2004
    Posts
    9

    Re: Dll deployment on device problem

    Hi,
    we are getting the same error message.

    Do you have any idea if its related to capabilities?

    regards,
    LArry

  5. #5
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Dll deployment on device problem

    You must install the dll on device as an ordinary application (with a sis file). Copying the dll with your application's sis is not accepted anymore.
    The dll must have at least the same capabilities as the application.

    You may use an embedded sis to install also the dll at the same time as the application. You build the sis for the dll and you include it in your application's sis just by adding in your application's sis the following line:

    Code:
    ;Dependencies
    @"<path_to_dll_sis>\<dll_sis_filename>",(<dll_UID>)
    If you find a better way of deploying a dll for the application please let me know.

    Please also look at:
    http://discussion.forum.nokia.com/fo...ad.php?t=73987

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    9

    Re: Dll deployment on device problem

    Hi Iulian

    thank you for your speedy response!!

    We have been stumped wiht this problem and our symbian sign test house was not able to pick this up. So hopefully your suggestion will help.

    I will ask the symbian sign test house about this and get back to you if there are any improved ways of doing this.

    In the meantime, please feel free to mail me directly at larry.ger [at] limestream.net

  7. #7
    Registered User
    Join Date
    Nov 2004
    Posts
    9

    Re: Dll deployment on device problem

    we used : petran -dump s <filename> to find out about all capabilities required.

    By giving our DLL's correct capability we are now able to build as normal without embedding the DLL as a sis.

    We are now having a strange problem with dialogs - get a kern-exec-3 which doenst make sense? if u know anything about this, please let us know

    thanks for your help

Similar Threads

  1. Replies: 1
    Last Post: 2005-06-20, 16:46
  2. Reading in UTF-8 HTTP Response - Device Problem
    By beyondtron@hotmail.com in forum Mobile Java General
    Replies: 1
    Last Post: 2005-01-13, 08:15
  3. Memory Problem with Nokia 3650 Device
    By amoladsule in forum Mobile Java General
    Replies: 3
    Last Post: 2004-12-24, 09:11
  4. Replies: 2
    Last Post: 2004-11-17, 00:46
  5. dll and lib problem
    By dalore in forum Symbian
    Replies: 3
    Last Post: 2004-02-16, 13:08

Posting Permissions

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