Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2008

    How can i create my own library?

    please teach me how to create my own library that can be used in other applications and how can i import the library that i will be creating in a project.. It will be more helpful if you will provide a step by step procedures..


  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Tampere, Finland

    Re: How can i create my own library?

    There is a template for creating a new Symbian DLL. Then write your code into it and in parallel call that code from a test client application.

    To use the DLL in a project make sure you include the relevant header files and to link your project against the library (you need to add it to the MMP in order to do that).
    -- 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
    Registered User
    Join Date
    Feb 2011

    Re: How can i create my own library?

    Would you please clarify the steps more precisely for me because i have never come across making my own library and i few knowledge on dll. If you give a link to some helpful instructions i would be easier for me to understand.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: How can i create my own library?

    You can find StaticDLL example in the SDK-s. Its location may vary, but generally it is Examples\Basics\StaticDLL. It is the simplest kind of .dll, practically it is about packing some of your code into a separate file.
    The other kind of of .dll-s is the polymorphic variant, related example is Examples\Base\DLLs in the SDK-s. It is about providing an abstract interface and one or more hidden implementation.
    The polymorphic kind of .dll-s bring the need for some categorization and 'browsing', since there are multiple implementations for an interface. Symbian brings the ECOM component model for this task, which also has an example, C:\Symbian\9.2\S60_3rd_FP1\Examples\SysLibs\ECom.
    Last edited by wizard_hu_; 2012-01-05 at 21:23.

Similar Threads

  1. Fail to build syexpat 1.3 under 2nd FP3
    By harry_zhang in forum Symbian
    Replies: 10
    Last Post: 2010-03-19, 10:24
  2. Application does not appear after installation
    By thefrozenrose in forum Symbian
    Replies: 5
    Last Post: 2007-05-24, 04:09
  3. Import problems carbide.c++
    By vigja in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-09-06, 15:37
  4. Replies: 3
    Last Post: 2006-07-01, 06:18
  5. Create C++ Library and Access from Python
    By adywicaksono in forum Symbian
    Replies: 2
    Last Post: 2006-05-03, 19:23

Posting Permissions

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