MSVC++ & Libraries
How does one create a library in msvc++,
and what are they good for?
Hugo Ferreira
UniteK Future
"My Name Is Jerry."[TheSphere]
Libraries are compiled collections of code. They''re good for when you have functions that you might like to use in multiple projects, but don''t want to have to keep compiling each time. You can just make them into a library, and then to use the functions you only need the header file, just like with the standard libraries. Then you just link the library at link time, and it works.
Under MSVC, to create them, you need to create a Static Lib project or a Win32 DLL Project, which is located under the New->Projects tab.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
and once you have that going, if you create another project in your workspace that needs that library in the same workspace, you can click on Project->Dependencies->library name, and whenever you make a change in the library, (with the other project still active) it''ll compile the library for you.
a2k
a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement