如何使用Ntfs.dll和Kernel.dll VB.net [英] How To Use Ntfs.dll and Kernel.dll VB.net

查看:51
本文介绍了如何使用Ntfs.dll和Kernel.dll VB.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All



M使用某种系统级工具。



但我不知道如何使用这些dll ..



紧急请告诉我一些提示。



或寄给我一些链接







REGARDS

Hello All

M working on some system level tool.

but i dont know how to use these dll ..

its urgent please tell me some tips.

or send me some links



REGARDS

推荐答案

首先,确保你真的想要它。在大多数情况下,纯.NET FCL可用于解决您的问题。如果你问到了你的最终目标,你就有机会获得一些好主意。



你需要的是P / Invoke。请参阅:

http://en.wikipedia.org/wiki/P/Invoke [ ^ ],

http://msdn.microsoft.com/library/en-us/vcmxspec/html /vcmg_PlatformInvocationServices.asp [ ^ ]。



此CodeProject文章也很有用: Essential P / Invoke [ ^ ]。



如果基于CLR标准以兼容的平台无关方式编写,您应该了解.NET的代码,可以在m上执行任何其他平台,例如Linux,Max OS X等,无需重新编译,主要通过Mono。使用P / Invoke会破坏这种平台兼容性。



-SA
First of all, make sure you really want it. In most cases, pure .NET FCL can be used to solve your problems. If you asked about your ultimate goals, you could have a chance to get some good ideas.

What you need is called P/Invoke. Please see:
http://en.wikipedia.org/wiki/P/Invoke[^],
http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcmg_PlatformInvocationServices.asp[^].

This CodeProject article can also be useful: Essential P/Invoke[^].

You should understand that your code for .NET, if written in a compatible platform-independent manner based on the CLR standard, can be executed on many other platforms, such as Linux, Max OS X, and more, without recompilation, mostly via Mono. Using P/Invoke will kill such platform compatibility.

—SA


这篇关于如何使用Ntfs.dll和Kernel.dll VB.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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