Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Library Creation

Library Creation

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shiv nand
    wrote on last edited by
    #1

    Hi all i have created a Windows CE for Pocket PC 2003 application, Now i want create a Library. How to Create a Library of Existing Project and Source Code ?. Thanks in Advance.

    K C 2 Replies Last reply
    0
    • S shiv nand

      Hi all i have created a Windows CE for Pocket PC 2003 application, Now i want create a Library. How to Create a Library of Existing Project and Source Code ?. Thanks in Advance.

      K Offline
      K Offline
      KingsGambit
      wrote on last edited by
      #2

      Assuming you need a DLL or LIB. Create a new project using Visual Studio: File->New->Project->Smart Device->Win32 Smart Device Project. Then select the platform and in the Project Settings page of the wizard there is an option to Select DLL or LIB.

      S 1 Reply Last reply
      0
      • K KingsGambit

        Assuming you need a DLL or LIB. Create a new project using Visual Studio: File->New->Project->Smart Device->Win32 Smart Device Project. Then select the platform and in the Project Settings page of the wizard there is an option to Select DLL or LIB.

        S Offline
        S Offline
        shiv nand
        wrote on last edited by
        #3

        Hi i have already created project , i need to crete Library of that Existing project.How i dont know, for your informaiotn it will open new empty project.

        C 1 Reply Last reply
        0
        • S shiv nand

          Hi i have already created project , i need to crete Library of that Existing project.How i dont know, for your informaiotn it will open new empty project.

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          There's no (AFAIK) 'Covert To Library' wizard, so you have to follow the suggested steps: create a DLL (or LIB) project and then add (with appropriate modification) the existing sources. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          1 Reply Last reply
          0
          • S shiv nand

            Hi all i have created a Windows CE for Pocket PC 2003 application, Now i want create a Library. How to Create a Library of Existing Project and Source Code ?. Thanks in Advance.

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            There's no easy way to "convert" an application to a library. These are two different things. The only way is to create a new library project, and add to it the source files you want to include in your library. Of course if you want to bring functionalities that were present in the GUI classes (like in View or Document if you use a SDI application), that will require more work. But first, you need to understand what a library is and how it is used, because it seems you are a bit confused about it. What are you trying to achieve exactly ? Converting a full application into a library doesn't make sense at all.

            Cédric Moonen Software developer
            Charting control [v3.0] OpenGL game tutorial in C++

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups