×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    61

    Problem signing an aplication with a 3rd party DLL

    Hi!

    I'm trying to sign an application who uses a 3rd party DLL (actually a python module). If i sign it using a developer certificate, it works right, but when I try to use Express Signed, it gives me a UID error. I supose that the DLL has an UID that is not in the range I reserved.
    If I change the UID of the application with "ensymble.py altere32" the aplication can be signed via Express Signed and can be installed, but it fails when i try to run it in the phone.

    What can I do to use this DLL in my own proyect and get it signed?

    Best regards.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: Problem signing an aplication with a 3rd party DLL

    How does it fail? Have you checked the panic code (http://wiki.forum.nokia.com/index.ph...ded_panic_code) ?

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    61

    Re: Problem signing an aplication with a 3rd party DLL

    Hi wizard_hu,

    It's a python module, and python return this error:

    Code:
    File "c:\resource\DMdecoder.py", line 5, in ?
    
    _dmdecoder=imp.load_dynamic('_dmdecoder', 'c:\\sys\\bin\\_dmdecoder.pyd')
    
    SymbianError: [Errno -5] KErrNotSupported
    If I don't change de UID of the DLL and I sign it with a devcert, it works right. The problem become when I change the UID of the DLL and try to sign it (with devcert or express signed). I guess I need the DLL compiled with my own UID, but since it's a commercial DLL, I don't have the sources.

    Best regards.


    Quote Originally Posted by wizard_hu_ View Post
    How does it fail? Have you checked the panic code (http://wiki.forum.nokia.com/index.ph...ded_panic_code) ?

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

    Re: Problem signing an aplication with a 3rd party DLL

    To begin with you should not alter binaries you do not own. If that is my DLL and I found out that you have changed it and pretend to own it then you are in deep problems.

    If the DLL is indeed commercially released it comes in a signed SIS file and that SIS file should be embedded in yours so that on install your application will have all its depencencies (including this DLL) available.
    -- 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

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    61

    Re: Problem signing an aplication with a 3rd party DLL

    We have bought the library, but the provider only gave us the DLL and the .h files to use it.
    I don´t know if this is the habitual behavior since I´m new to symbian.
    I guess we have to ask the provider for the .sis file to be embedded in our .sis installation.

    Best regards.

    Quote Originally Posted by ltomuta View Post
    To begin with you should not alter binaries you do not own. If that is my DLL and I found out that you have changed it and pretend to own it then you are in deep problems.

    If the DLL is indeed commercially released it comes in a signed SIS file and that SIS file should be embedded in yours so that on install your application will have all its depencencies (including this DLL) available.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: Problem signing an aplication with a 3rd party DLL

    Quote Originally Posted by albgarse View Post
    We have bought the library, but the provider only gave us the DLL and the .h files to use it.
    In that case you should get the creator of the .dll to provide a signed .sisx for you, especially since you have paid for the component.
    I don´t know if this is the habitual behavior since I´m new to symbian.
    Even experienced developers would not like the idea of modifying binaries, the UID-s can appear in several locations.
    I guess we have to ask the provider for the .sis file to be embedded in our .sis installation.
    Indeed, that is the proper way of releasing .dll-s.

Similar Threads

  1. S60 3rd ed. a DLL related project building failing
    By mehdi_cs in forum Symbian C++
    Replies: 0
    Last Post: 2008-04-27, 13:52
  2. Replies: 1
    Last Post: 2007-03-20, 07:51
  3. Client/Server strange problem on 3rd device
    By stenlik in forum Symbian C++
    Replies: 17
    Last Post: 2007-02-15, 12:08
  4. Shortcuts to 3rd party apps on Series 40 phones
    By jje007 in forum Symbian C++
    Replies: 1
    Last Post: 2003-04-17, 11:38
  5. Shortcuts to 3rd party apps on Series 40 phones
    By jje007 in forum General Development Questions
    Replies: 0
    Last Post: 2003-04-17, 09:25

Posting Permissions

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