What is the relationship between lib and dll?From http://blog.sina.com.cn/s/blog_4b9b714a0100gzip.html
(1) lib is required during compilation and dll is required during runtime.If you need to complete source code compilation, it is enough to have
Address: http://blog.csdn.net/dizuo/article/details/4103614
Third-party libraries are often used. For example, glut, FreeType, SDL, and cegui and OSG.
Although these libraries are open-source, they are often used and are not modified.
Three things
There are two kinds of libraries:One is that Lib contains the information (ingress) of the DLL file in which the function resides and the location of the function in the file, which is provided by the DLL that is loaded in the process space by the
If you are interested in static and dynamic link libraries in Linux, click --> you knowI. Concept1) The static Link Library is the. lib file you are using. The code in the library needs to be connected to your executable file, so the static
1. Load the lib/header fileThere are two ways of doing this:(1) for the current project1 Step One: Item--Properties->c/c++-> General , additional Include directories (browse. h file path) Add include file 2 Second step: Project--Properties->c/c++
Differences and contact details of lib and dll in windows, libdll in windows
There are two types of libraries in c ++:1. LIB contains the DLL file where the function is located and the information about the Function Location in the file (entry). The
The general Lib file is the "import library", which is used to provide link.exe as the basis for linking dll--, which is the "Dynamic link library". It recorded a message similar to the following: Call the function xxx (), connect to the X.dll
There are two types of databases:One is that LIB contains information about the DLL file where the function is located and the Function Location (entry) in the file. The code is provided by the DLL loaded in the process space during runtime, it is
There are two types of libraries in C + +:1, Lib contains the function of the DLL file and the location of the function in the file (portal), the code by the runtime loaded in the process space by the DLL provided, called Dynamic Link library, the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.