Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor iulian_moldovan's Avatar
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431
    Hello!

    I develop a 3rd edition application that uses a dll for various sound operations. How may I deploy my application on a 3rd edition device in such a way that the dll is accepted and used?

    The single way I found was to install also the dll with a sis file and then install my application with another sis file in order to accept the dll (also found a easier way for this, an embedded sis).

    In the old 2nd edition it was enough that the dll existed in the same path as the app or in system\libs, without any other setting. It is not working anymore on 3rd edition? If yes, what requirements the application / the dll must comply for this?

    Thanks in advance !
    Last edited by iulian_moldovan; 2006-02-07 at 14:54.

  2. #2
    Regular Contributor iulian_moldovan's Avatar
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431
    Nobody uses dlls ?

  3. #3
    Super Contributor Paul.Todd's Avatar
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644
    You remembered to add the capabilities and have the dll signed?

  4. #4
    Regular Contributor iulian_moldovan's Avatar
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431
    Yes, the same capabilities as my application and the same way of signing.

    It works only with embedded sis installation. If I just copy the dll near the exe it doesn't work.

  5. #5
    Registered User msmyslov's Avatar
    Join Date
    Jun 2003
    Posts
    20
    Please check the S60 example apps in S60 3rd' SDK. There are examples involving DLLs. Searching through .mmp files, for instance, SIP example and BrowserControl.

    Platform Security has an important implication for DLLs to have at least the same (or exceeding) set of Capabilities as the target host executable. That's why it is not quite possible anymore to arbitrary create "lightweight" DLL modules for a process: a DLL should be "aware by design" about minimal set of PlatSec capabilities that the target .exe has. This also described in documentation.

  6. #6
    Regular Contributor John.Holloway's Avatar
    Join Date
    Jun 2004
    Posts
    56
    There is also the issue of the DLL almost certainly having to reside in the \sys\bin folder - as thats the only place the OS will load code from - according to docs - which you cant get access to without AllFiles capability....

    Despite it being a desirable design requirement weve now abandoned using Polymorphic Dll's as used on previous OS versions - not least of which its not clear how to search for the set of DLL's - by UID or name without AllFiles capability - which requires manufacturer support....

    I believe using the ECom interfaces might provide a mechanism but life was too short....

  7. #7
    Registered User gregman's Avatar
    Join Date
    Jun 2006
    Posts
    5
    According to 'S60_Platform_Symbian_Platform_Security_FAQ_v2_0_en[1].pdf',
    it is possible to search for dll's in the \sys\bin folder via TFindLibrary. This apparently gets around the problem of having to have the AllFiles permission.
    (I havn't tried it yet myself though.)

  8. #8
    Super Contributor Paul.Todd's Avatar
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644
    It does might imply all DLL's on the system, it actually only enumerates loaded dll's

Similar Threads

  1. OpenGL ES on S60 3rd Edition SDK Emulator
    By specjones in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2008-09-30, 10:22
  2. install the Eikecho example from S60 3rd Edition SDK
    By simoschn in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2006-05-04, 13:44
  3. TTime : TInt64& Int64() problem in S60 3rd edition
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-01-24, 13:07
  4. Linking Static DLL with another Static DLL
    By symbianfresher in forum Symbian C++
    Replies: 6
    Last Post: 2006-01-09, 04:23
  5. OpenGL ES Support in S60 3rd Edition Beta SDK
    By choefele in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-12-14, 06:01

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