×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Location
    India
    Posts
    170

    Can we share dll among applications in 3rd ed?

    Hello All,

    I want to share dll among applications in 3rd ed.
    Scenario is:
    I am developing two application say A & B which are using xyz.dll. Now appication A is there on device & if i am trying to install B it gives me "Update error".

    I wanted to do this... If Application A is there on device which uses xyz.dll then s/w installer should allow application B which is also using xyz.dll to get install. Also if i removed application B from device then this should not remove xyz.dll sothat my previous application A will continue to execute there. How to do this?

    any pointer to this is really helpful.

    thanks,
    bnvaikos

  2. #2
    Regular Contributor
    Join Date
    Jan 2006
    Posts
    174

    Re: Can we share dll among applications in 3rd ed?

    You might need to make an independent installation sis for that dll.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can we share dll among applications in 3rd ed?

    There is a dependency keyword in the package file syntax for this purpose. Unfortunately there is a known issue where, even if you install via a separate package as an embedded sis, the dependency still gets removed when you install the original package - I think it's been fixed recently but if you want to target all the millions of 3rd Edition phones out there... So... you have to install the dll via a separate sis file separately first and then make it a dependency in your application.

    If you are going for commercial distribution then there is a workaround - I think you should be able to find it on the Psiloc blog (google for it) but basically rather than embedding the sis file you just include it as an ordinary file and then create an executable which you install and auto-run after the install process that then launches the sis file and hence installs your dll (only doing the last part if the dll isn't present already).

    Hope that makes sense.

    Sorcery

Similar Threads

  1. Replies: 9
    Last Post: 2009-06-18, 21:45
  2. Integrate 3rd party applications with Nokia 6131 NFC firmware
    By fabianignacio in forum Near Field Communication
    Replies: 2
    Last Post: 2008-05-19, 19:31
  3. Symbian Applications for 3rd Edition
    By bryant_16 in forum Symbian
    Replies: 3
    Last Post: 2006-07-14, 11:52
  4. Example Applications for 3rd Edition SDK
    By razas in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-12-21, 08:55
  5. what happens to TLS when DLL is unloaded?
    By rtillitt in forum Symbian
    Replies: 1
    Last Post: 2002-11-27, 12:11

Posting Permissions

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