×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    21

    Unhappy How to install DLL files to device?

    Hi there,

    I am trying to learn how to use dll in symbian so I write a simple hello world application to have a try.

    The hello world application is generated by the carbide wizard and then I add two dll project (they are from example in the S60 SDK, the path "\Symbian\9.2\S60_3rd_FP\Examples\Base\DLLs", PolymorphicDLL1 and PolymorphicDLL2), now the whole project has three mmp files : one for the main application and the other two are for the dll projects.

    I can run the application successfully in emulator, but when I tried to use it in device, I got the following error message during installation:
    "Unable to install a protected application from an untrusted supplier".

    The pkg file is as following:
    ;Language - standard language definitions
    &EN
    ; standard SIS file header
    #{"GUIHelloWorld"},(0xEEE7A330),1,0,0

    ;Localised Vendor name
    %{"Vendor-EN"}

    ;Unique Vendor name
    :"Vendor"

    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}

    ;Files to install
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\GUIHelloWorld_0xEEE7A330.exe" -"!:\sys\bin\GUIHelloWorld_0xEEE7A330.exe"
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\PolymorphicDLL1.dll" - "!:\sys\bin\PolymorphicDLL1.dll"
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\PolymorphicDLL2.dll" -"!:\sys\bin\PolymorphicDLL2.dll"
    ......

    But if I commented out the following two lines:
    ;"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\PolymorphicDLL1.dll" "!:\sys\bin\PolymorphicDLL1.dll"
    ;"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\PolymorphicDLL2.dll" "!:\sys\bin\PolymorphicDLL2.dll"

    The sisx file can be installed to the device and it can be started but not function correctly (due to lack of the two dll files.)

    What can I do to solve the certification problem?

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: How to install DLL files to device?

    Quote Originally Posted by biotrail View Post
    What can I do to solve the certification problem?
    Do a simple search?

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: How to install DLL files to device?

    Do not forget searching for Unable to install a protected application from an untrusted supplier in the Wiki. In short modify the UID-s (\Examples\... are usually not suitable for installing on the device in their original form)

Similar Threads

  1. on device debugging, breakpoint does not work for some files.
    By taycho1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 28
    Last Post: 2011-10-07, 15:19
  2. How to install a dll seperately?
    By hswlmark in forum Symbian
    Replies: 1
    Last Post: 2007-11-21, 04:14
  3. Install a recogniser as sis on the device?
    By mayankkedia in forum Symbian
    Replies: 0
    Last Post: 2005-01-18, 01:53
  4. GCC TOOLS to inspect Symbian DLL and LIB files?
    By jjclose in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-11-18, 16:54
  5. How do I install .sis files
    By ntsing in forum Symbian
    Replies: 2
    Last Post: 2002-10-07, 16: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
  •  
×