Library Creation
-
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.
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.
-
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.
-
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.
There's no (AFAIK) 'Covert To Library' wizard, so you have to follow the suggested steps: create a
DLL
(orLIB
) 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] -
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.
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++