如何在Vb.Net中导入Win32 API? [英] How to Import Win32 API in Vb.Net?
本文介绍了如何在Vb.Net中导入Win32 API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Visual Basic.net中导入Win32 Api?因为我想使用win32 api函数尝试akses注册表...
How can I Import Win32 Api in Visual Basic.net?? because I want to try akses registry with win32 api functions...
推荐答案
这称为P/Invoke —平台调用服务.
请参阅:
http://en.wikipedia.org/wiki/Platform_Invocation_Services [ http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcmg_PlatformInvocationServices.asp [^ ].
另请参见此CodeProject文章: http://www.codeproject.com/csharp/EssentialPInvoke.asp [ ^ ].
—SA
This is called P/Invoke — Platform Invocation Services.
Please see:
http://en.wikipedia.org/wiki/Platform_Invocation_Services[^],
http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcmg_PlatformInvocationServices.asp[^].
See also this CodeProject article: http://www.codeproject.com/csharp/EssentialPInvoke.asp[^].
—SA
浏览此-
在.NET.aspx中使用Win32 API [
Go through this-
Working with Win32 API in .NET.aspx[^]
这篇关于如何在Vb.Net中导入Win32 API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文