×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    252

    Question what should be the uid of my static lib??

    Hi all,

    I have an aplication which depends on one or more static .lib created by me.

    My aplication has a uid in protected range . should all the uids of my .libs
    are also in protected range for signing.


    Thanks

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

    Re: what should be the uid of my static lib??

    UID-s are required only for things you deploy to the device. A .lib file never gets to the device, so it needs no UID (if the toolchain happens to complain about missing UID-line, write "UID 0").

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    252

    Re: what should be the uid of my static lib??

    Quote Originally Posted by wizard_hu_ View Post
    UID-s are required only for things you deploy to the device. A .lib file never gets to the device, so it needs no UID (if the toolchain happens to complain about missing UID-line, write "UID 0").
    Thanks for replying . so it means that if i have a diff.. module works as a static .lib (Created by me). actually they are specified as .dll in my pkg file
    Code:
    "\Symbian\9.1\S60_3rd\epoc32\release\gcce\urel\abc.dll"-"!:\sys\bin\abc.dll"
    and it will not create any pb in signing process if they have no uid(0) or uid in
    unprotected range.

    Please confirm..

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: what should be the uid of my static lib??

    In that case you are talking about a "static interface dll", and you need to allocate a "real" UID for it. Just as you would do with a .exe. So no, 0 will not work in this case (based on your first description I thought that you were asking about a simple .lib file - without .dll).

  5. #5
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    252

    Re: what should be the uid of my static lib??

    k, Thanks very much. But don't u think it looks unnessary and makes signing process more complex. suppose there are 10 diff .dll in an app Then we have to go for 10 diff uids.. but all refers to only one aplication...

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

    Re: what should be the uid of my static lib??

    The number of applications using a particular .dll does not matter. What matters is that it is a .dll.
    Anyway, if you are interested, you can simply try what happens if you do not provide unique identifiers to your .dll-s.

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: what should be the uid of my static lib??

    The recommendation from Symbian was that if you have an application package consisting of one exe and several DLLs then only one UID is needed and the dlls will have the same UID3 as the exe.

    Quote Originally Posted by [URL="http://www.symbian.com/Developer/techlib/v9.1docs/doc_source/N10356/BuildTools/UsingUids.guide.html"]How to use UIDs[/URL]
    UID3 identifies objects having a particular UID2 and can be thought of as a project identifier; for example, UID3 might be shared by all objects belonging to a given program, including library DLLs, if any, framework DLLs, and all documents.
    A later version of the document no longer adds the DLLs on the list of modules that can share the same UID3 although I think that is a simple omission and not a change of paradigm.

    Quote Originally Posted by [URL="http://www.symbian.com/developer/techlib/v9.2docs/doc_source/ToolsAndUtilities/BuildTools/UsingUids.guide.html"]How to use UIDs[/URL]
    UID3 distinguishes between objects with the same UID2 and can be thought of as a project identifier. For example, for an application, the same UID3 is shared by the executable, registration file (which defines the application's icon, caption, and some capability information), and all documents.
    -- 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

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  3. Python for UIQ
    By cassioli in forum Symbian
    Replies: 141
    Last Post: 2008-06-11, 18:16
  4. Problems with static lib
    By msollenborn in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-10-09, 14:02
  5. some problems with label
    By vivienzhung in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-21, 09:52

Posting Permissions

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