×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    37

    Problems deploying a dll on target

    HI,
    I have generated a static interface dll. Made a build for the phone release gcc. It has the dso files generated and exports frozen.
    When i integrate the dll with a UI project, I have been able to call the exports and make a successful build. Added the MySampleDLL.lib in the UI mmp file.

    The emulator version of the UI project works fine with my dll.

    While deploying on the N82 target, i m unable to launch the application.
    Are there any extra settings to import my dll on the taget? Am i missing something in the mmp file?

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    37

    Re: Problems deploying a dll on target

    And ya the application works fine when i build it without the dll i created and exclude the calls to exported interfaces. So i guess the problem is with integrating and deploying the dll that i created.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    1,236

    Re: Problems deploying a dll on target

    Hi,

    Did you export the dll to the target you can do that by mentioning it in pkg like you mentioned the exe of your application you have to mention the dll you have created.
    Regards,
    Sriky

  4. #4
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: Problems deploying a dll on target

    Hi,
    You will need to put your dlls into the device along with your application through sis file.
    You can put it in your pkg file and build the sis file which will take care of putting the dlls into the device when installing your sis
    Try something like
    "\epoc32\release\gcce\urel\yourdll.dll"-"!:\sys\bin\yourdll.dll"
    Maximus
    S60 Developer
    Impossible is nothing

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Problems deploying a dll on target

    Also remember the capabilties of the dll need to be the same or more than the hosting application (but not more than your certificate)
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  6. #6
    Registered User
    Join Date
    Aug 2008
    Posts
    37

    Re: Problems deploying a dll on target

    Hey thanks ppl for the replies!

    I added the line in the pkg file to export my dll to target and it works fine now:-)
    Thanks paul..i have rechecked on the capabilities set.

Similar Threads

  1. DLL problems in WINSCW build after migrating from VS2003 to Carbide.C++
    By Kirinyale in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2008-05-20, 17:41
  2. KErrNotSupported when loading DLL on target
    By peterjbaker in forum Symbian
    Replies: 3
    Last Post: 2007-04-27, 15:31
  3. DLL locading problems (capabilities)
    By olympio in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-03-29, 08:11
  4. DLL version control
    By filio in forum Symbian
    Replies: 0
    Last Post: 2006-05-09, 12:18
  5. Problem building a dll for target device
    By rushj in forum Symbian
    Replies: 1
    Last Post: 2005-08-09, 14:19

Posting Permissions

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