×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    15

    Loading a dll without installing it

    Hi,
    I am a newbie and wanted to know if there's a way we can load a dll from an exe without actually installing the dll.
    Any help is welcome
    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Loading a dll without installing it

    Not possible on Symbian OS 9.x
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Loading a dll without installing it

    If you are asking about Symbian 9.x (S60 3rd noFP, FP1, FP2, S60 5th, including N97), it is not possible.
    Depending on what you actually want to achieve, you may find SW Installer Launcher API useful - having the necessary capabilities, it can do silent installation for you. It is part of the plug-in packs: http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in

  4. #4
    Registered User
    Join Date
    Aug 2009
    Posts
    15

    Re: Loading a dll without installing it

    Is is possible just to sign the dll with a tcb certificate allowing it full capabilities or the only way to sign it using a sisx file. I am trying to write a program with a huge number of dlls and with frequent installation and uninstallation. Hence asking for some way to bypass the installation step and directly just copy the dlls
    Thanks

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Loading a dll without installing it

    If you have TCB then the story is indeed diferent as in theory you can write your own installer and have it handle the DLLs as needed. This is why you don't [usually] get to have the TCB capability to begin with.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Loading a dll without installing it

    Theoretically it is possible to do something like that, RChunk::CreateLocalCode and UserHeap::ChunkHeap enables you to create (load) executable code in runtime. But it would definitely require some work to use.
    Otherwise if your question is about development time, where it is really uncomfortable to install the application manually, clicking through all the windows, etc., you can efficiently use the debugger for this purpose, because TRK uses silent installation, without the questions.

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. MBM image is not found
    By tamhanna in forum Symbian
    Replies: 14
    Last Post: 2009-04-20, 12:44
  3. Replies: 8
    Last Post: 2009-01-20, 13:47
  4. Problem in loading a Static DLL
    By urskvkrishna in forum Symbian
    Replies: 4
    Last Post: 2008-02-29, 11:02

Posting Permissions

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