For static library you need headers as well as cpp files.
Static library do not contain executable code thus there is no need to supply input libraries. This information is needed later on when you will be using this static library to build an exe or dll file.
For example suppose you have following libraries :
and you are builing a static library (StaticLib3.lib) using them. Since static library do not have executable code there is no point putting information from input libraries into StaticLib3.lib.
Now suppose you want to build an exe using StaticLib3.lib. At this point you will need StaticLib1.lib, StaticLib2.lib, DllLib.lib, and StaticLib3.lib.
Your reply is great! I have a further question, can I build a static library based (dependent) on another static library?
If I can, I think I need to input the name of the dependent .lib file (dependent static library file name) to the static library, right? But in Visual Studio 2003, there is no way to add such input when build a static library.
we are writting the CString data in to the file using CFile.
first time we are able to write the data correctly but from second time
data is not overwritten. even if we remove the file , the file is generatted with same data.If any one have Idea how this prob can solved please give me.
(CFile::modeCreate | CFile::modeWrite)
How do I get this "Lucida Sans Italic" information from the font file? Is there any api call like GetFontName() or anything similar?
-Use CreateFontIndirect method to create with facename "Lucida Sans Italic"
-Select the font into device context
-Use GetTextMetrices method to get the current text Metric
-The structure contains information about your selected font.
Knock out 't' from can't,
You can if you think you can