×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    87

    using one dll with many Apps...

    Hi everybody,

    for example - I have two Apps( AppA& AppB ), and they both use the same( my own ) dll;

    both Apps has in it's pkg file the next line:
    "C:\MyLibs\CommonLib.dll"-"e:\system\libs\CommonLib.dll"

    1. I instal both apps;
    2. I uninstal one of them( let it be AppA )

    after that I see that there is no such file e:\system\libs\CommonLib.dll -

    I think that Symbian can't recognize that CommonLib.dll used with more than one application & deletes this library - after that AppB can't start because there is no dll;

    how to solve this problem ? Is it possible to say to Symbian that some library is used with many apps to avoid deleteing ?

  2. #2
    Super Contributor
    Join Date
    May 2004
    Posts
    2,265

    Re: using one dll with many Apps...

    Use embedded sis file to do so, like this:


    Put you dll file in a seperate sis file:
    -----------------------------------------------------------
    // CommonLib.pkg

    ...

    "C:\MyLibs\CommonLib.dll" - "e:\system\libs\CommonLib.dll"
    -----------------------------------------------------------



    and embed it to other sis file:
    -----------------------------------------------------------
    // MyAppA.pkg

    ...

    ; the embedded sis file
    @"CommonLib.sis",(28867485)
    -----------------------------------------------------------

    -----------------------------------------------------------
    // MyAppB.pkg

    ...

    ; the embedded sis file
    @"CommonLib.sis",(28867485)
    -----------------------------------------------------------

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 29
    Last Post: 2008-06-30, 11:47
  2. Linking Static DLL with another Static DLL
    By symbianfresher in forum Symbian C++
    Replies: 6
    Last Post: 2006-01-09, 04:23
  3. Using my OWN DLL
    By burnik in forum Symbian C++
    Replies: 3
    Last Post: 2005-01-10, 01:35
  4. set apps to be run background manually
    By Rx-lee in forum Symbian C++
    Replies: 2
    Last Post: 2004-09-14, 08:58
  5. what happens to TLS when DLL is unloaded?
    By rtillitt in forum Symbian C++
    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
  •