如何开始学习平台调用 [英] How to start learning Platform Invoke

查看:38
本文介绍了如何开始学习平台调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我只想学习c#中的Platform Invoke,但是我发现我尝试调用的每个平台的参数都不相同,如何得知尝试在我的代码中调用和使用的API的参数是什么?只是记住所有这些内容(几乎不可能)还是我需要以其他方式开始?
谢谢

解决方案

本教程 [ ^ ].


除了Richard的建议外还有其他内容:

有趣的是,有关该主题的Wikipedia文章不仅是一个很好的概述,而且还是一个很好的入门手册:
http://en.wikipedia.org/wiki/Platform_Invocation_Services [ http://msdn.microsoft.com/en-us/library/Aa712982 [ ^ ].

最后,这篇CodeProject文章可能非常有用:
基本P/调用 [ 解决方案

Start with this tutorial[^].


Something more in addition to the advice by Richard:

Interestingly, just the Wikipedia article on the topic is not just a good overview, but also a good introductory manual:
http://en.wikipedia.org/wiki/Platform_Invocation_Services[^].

See also:
http://msdn.microsoft.com/en-us/library/Aa712982[^].

Finally, this CodeProject article can be quite useful:
Essential P/Invoke[^].

—SA


这篇关于如何开始学习平台调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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