什么是Native DLL? [英] What are Native DLLs?

查看:255
本文介绍了什么是Native DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在StackOverflow上阅读DLL时,我多次来到本机DLL这个词。我发现有关他们的问题,但我不明白本机DLL是什么。

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.

什么是本机DLL?

推荐答案

本机DLL通常是包含原始处理器直接可执行代码(例如Win32 API中的代码),而不是例如管理(MSIL)包含消耗的代码,JIT由运行时(如.NET CLR)编译为本机处理器指令。

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.

在.NET中也可以创建混合模式DLL它包含本机二进制代码和托管代码。

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

这篇关于什么是Native DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆