Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Native DLLs?

Tags:

dll

native

When I was reading about DLLs on StackOverflow I came accross the word "Native DLLs" a lot of times. I found questions regarding them but I couldn't understand what a "Native DLL" actually is.

What is a native DLL?

like image 565
Swanand Avatar asked Oct 22 '10 09:10

Swanand


People also ask

How many types of DLLs are there?

There are two types of DLLs: simple and complex. A simple DLL contains only DLL code in which special code sequences are generated by the compiler for referencing functions and external variables, and using function pointers.

What does DLLs mean?

A dynamic link library (DLL) is a collection of small programs that larger programs can load when needed to complete specific tasks. The small program, called a DLL file, contains instructions that help the larger program handle what may not be a core function of the original program.

What is DLL and why it is used?

A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Each program can use the functionality that is contained in this DLL to implement an Open dialog box.

What language are DLL files?

DLL files use languages like C or C++, although you'll see C++ more often. You can write your own DLLs to run some code you need if you're willing to learn how to do it. It could be valuable to your project and of course it could make you look good in return.


1 Answers

Native DLL's are usually DLL's containing raw processor directly-executable code (such as that found in the Win32 API's) as opposed to, for example, managed (MSIL) which contain code that is consumed and JIT compiled to native processor instructions by a runtime such as the .NET CLR.

In .NET it is also possible to create mixed-mode DLL's that contain both native binary code and managed code.

like image 123
Kev Avatar answered Oct 11 '22 15:10

Kev