流接口驱动程序入门
我想构建一个流接口驱动程序用于测试目的,但我完全迷失了。我不知道使用VS2008或Platform Builder哪个IDE。 Platform Builder 的下载量高达 20GB :( 谁能指导我如何创建 .dll 文件并在 dll 文件中包含 XXX_Open、XXX_Close、XXX_Write、XXX_Read?我应该用 C++ 编写 .dll 文件还是可以用 C++ 编写它C#?请指导我了解基础知识:) 非常感谢:)
I want to build a stream interface driver for testing purposes but I am completely lost. I don't know which IDE to use VS2008 or Platform Builder. Platform Builder is whopping 20GB to download :( Can anyone guide me on how i create the .dll file and include XXX_Open, XXX_Close, XXX_Write, XXX_Read in the dll file? Should i write the .dll file in C++ or can i write it in C#? Please guide me through the basics :)
Thanx a lot :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,Platform Builder 6 不是 20GB。它以一张 DVD 形式提供(除了 Visual Studio 2005),因此在最坏的情况下它不能超过 9 GB。
您可以阅读 流接口驱动程序外壳作为开始。您还可以在同一博客上找到许多其他非常有帮助且适合初学者的帖子。
据我所知,编写驱动程序是用 C/C++ 完成的。我还没有看到 C# 中的实现,并且我认为不可能这样做。
以下是 Platform Builder 下载的链接: 链接 - 它声明它是 3.8 GB。当然你需要先下载VS2005。
Platform builder 6 is not 20GB as far as I know. It is shipped on one DVD (aside from Visual Studio 2005) so it cannot exceed 9 Gb in the worst case.
You can read A Stream Interface Driver Shell as a start. You can also find many other posts on the same blog that are extremely helpful and are for the beginner level.
As far as I know writing drivers is done in C/C++. I have not seen an implementation in C# and I don't think it is possible to do so.
Here is the link for the Platform Builder download: link - it states it is 3.8 GB. Of course you need to download VS2005 first.
驱动程序必须用 C 语言编写。它们可以使用 Platform Builder 或 Visual Studio 编写。您只能通过 Platform Builder 对驱动程序进行实时调试。
Drivers must be written in C. They can be written with Platform Builder or Visual Studio. You can only use live debugging of a driver with Platform Builder.