Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
  1. #16
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    thx
    i import S60Ex\HelloWorldBasic project and modify .pkg
    (replace HelloWorldBasic.exe to mydll.dll)
    and build arm
    but ....
    i not found .sis file to sign it and setup on my phone ????????
    or what next step?

  2. #17
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    But you have already succeed with building+packaging+signing the application, have not you?
    The .dll can be built+packeged+signed with exactly the same steps.

  3. #18
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    thx
    i not understand what do you mean ?
    i need in final load and use mydll.dll in phone so
    i need setup thing to add mydll.dll in sys\bin but
    must be sign it where cannot use it without sign so
    pkg it or what i not understand how to setup ......
    thank you.

  4. #19
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    So... forget the .dll for a moment.

    Do you have an application which would use the .dll in question?

    Does this application install to the device?

    Does it appear in the menu?

    What happens when you click on its icon?
    - Unable to execute file due to security reasons?
    - "Nothing"?: apply http://wiki.forum.nokia.com/index.ph...ded_panic_code
    - Something -1?
    - Something else?

  5. #20
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    Thanks a lot for your kindly attention.
    I am still having a problem in packaging DLL. I can't find the sis file which will use to install this dll, is it true??. Could you tell me the next steps?

    components:
    simple dll with only one function "basic dynamically linked library DLL".
    an application use this dll "3rd Ed. GUI application".

    IDE:
    Carbide C++ version 1.2
    SDK:
    S60_3rd_MR
    Target: use this GUI application to call dll function.

  6. #21
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Try answering all 4 questions.

  7. #22
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    Do you have an application which would use the .dll in question?
    yes i have an application which would use the .dll
    simple dll with only one function "basic dynamically linked library DLL".
    an application use this dll "3rd Ed. GUI application".
    Does this application install to the device?
    yes
    Does it appear in the menu?
    yes
    What happens when you click on its icon?- Unable to execute file due to security reasons?
    yes
    (i just copy mydll.dll into sys\bin )

    IDE:
    Carbide C++ version 1.2
    SDK:
    S60_3rd_MR
    Target: use this GUI application to call dll function.
    my mail (engkfke@gmail.com) (if example application use dll )

  8. #23
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Quote Originally Posted by kfke View Post
    What happens when you click on its icon?- Unable to execute file due to security reasons?
    yes
    (i just copy mydll.dll into sys\bin )
    You "just" copy a dll in sys\bin? That would require the TCB capability and you most likely do not have it.

    Why don't you just install the DLL to sys\bin through the sis file?

  9. #24
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    How do you add DLL into sis?
    simple any dll in simple GUI application.

  10. #25
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    It is a very complicated process that kind of asks you to read the documentation of the PKG file format, then use a very complicated editor such as Notepad to add a line like the one below to your project's *.pkg file.

    Code:
    "<same_path_as_for_exe>\<your_DLL_name>.dll"-"!:\sys\bin\<your_DLL_name>.dll"

  11. #26
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    Thanks a lot for your kindly attention.
    add a line like the one below to my project's *.pkg file.
    Code:
    "C:\Symbian\9.1\S60_3rd_MR\epoc32\release\gcce\urel\NDLL.dll"		  -"!:\sys\bin\NDLL.dll"
    and i get size of sis file is increase up (18 to 20 )

    and sign it (online sign)

    setup in phone success

    but at call this application an error occur
    "Menu
    Unable to execute file for security reasons " error???

  12. #27
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Pretty explanatory and easy to fix. Read about Platform Security, capabilities and the rule that governs the DLL loading process.

    Then review your projects, both DLL and client application, and make sure that they have matching sets of capabilities.

  13. #28
    Regular Contributor kfke's Avatar
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52
    thx solve my problem
    Last edited by kfke; 2008-05-20 at 08:30.
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. createsis using developer certificate problem
    By nhammond in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2009-03-04, 08:39
  3. MultimediaDD enabled developer certificate??
    By sajidul in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-03-22, 20:03
  4. MultimediaDD enabled developer certificate??
    By sajidul in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-03-22, 12:01
  5. Error importing Symbian signed developer certificate
    By amaunder in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-03-20, 17: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