What is SDK?

Source: Internet
Author: User

SDK --- software development kit, software development kit, generally provides documents, references, class libraries, and examples.
Windows SDK is provided for you to develop on Windows platforms... Dongdong.
 

What is the SDK? He is short for software development kit, which means "software development kit" in Chinese ".

SDK is a widely used term. It can be said that the collection of documents and sample tools used to assist in the development of a software can be called "SDK ". Specifically, the SDK in this tutorial is just a subset in a broad sense-that is, the "SDK" used to develop applications on the Windows platform ".

Before using the SDK for development, we also need to understand some new concepts, such as API, dynamic key library, and import/export warehouse. But don't worry, that's just a few new terms. I learned it only after developing the SDK.

First, let's take a look at the API, that is, the application programming interface, which is actually a call interface left by the operating system for the application, by calling the API of the operating system, an application enables the operating system to execute commands (Actions) of the application ). In fact, as early as the DOS era, there was an API concept, but at that time the API was provided in the form of Interrupt calls (INT 21 h, all applications running under DOS use the operating system functions directly or indirectly through interrupt calls, for example, if you set Ah to 30 h and call int 21 h, you can get the dos OS version number. In Windows, system APIs are provided through function calls. In Windows, you need to call the getversionex () function. In this case, the dos api is "thinking in assembly language", while the Windows API is "thinking in advanced language. DOS APIs are part of system programs. They are loaded into the memory together with the system and can be found through the interrupt vector table. What about Windows APIs? To understand this problem, we have to introduce this concept-DLL.

DLL (also an abbreviation, I feel that there are many acronyms in the IT industry), that is, dynamic link library (dynamic link library ). We often see files in. dll format. These files are dynamic link library files, but they are also executable files. Unlike. EXE files,. DLL files cannot be executed directly. They are usually imported by. EXE during execution, which contains some resources and executable code. In fact, the three modules of windows are provided in the form of DLL (kernel32.dll, user32.dll, gdi32.dll), which contains the Execution Code of API functions. To use the API functions in DLL, we must have an API function declaration (. h) and its import to the database (. lib), the function prototype declaration is not difficult to understand, so what is the purpose of importing data into the database? For the moment, we first understand that import and export are used to find the API entry point in the DLL.

Therefore, in order to use API functions, we need to have corresponding APIs. H and. the SDK provides a complete set of related files, examples, and tools required to develop Windows applications ". So far, we have explained the meaning of the SDK.

Because the SDK contains the required information for using APIs, it is often called "SDK programming" to develop Windows applications using only APIs ". APIs and sdks are essential for developing Windows applications. Therefore, other programming frameworks and libraries are built on them, such as VCL and MFC, although they have a higher degree of abstraction than "SDK programming", it does not prevent them from directly Calling API functions whenever necessary.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.