简体   繁体   English

Visual Studio社区2015和KMD

[英]Visual Studio Community 2015 & KMD

I have started working on a KMD project for exercise. 我已经开始从事KMD运动项目。 I have opened an empty KMDF project and started writing the km component. 我打开了一个空的KMDF项目并开始编写km组件。 Now I want to add a User Mode component.. Do I need to open a new project that contains both parts or is there a way to add user mode component on a KMDF project? 现在,我想添加一个用户模式组件。我是否需要打开一个包含两个部分的新项目,或者是否可以在KMDF项目上添加用户模式组件?

After advising someone experienced with driver development in visual studio I came to this answer: The user mode component has to be separate from the kernel mode component. 在向某人提供了在Visual Studio中进行驱动程序开发的经验后,我得出了以下答案:用户模式组件必须与内核模式组件分开。 In Visual Studio it is done easily with adding another project to the same solution (no need to create a new solution). 在Visual Studio中,只需将另一个项目添加到同一解决方案即可轻松完成(无需创建新解决方案)。 Then, the kernel mode component and the user mode component, which are basically two different 'applications' can communicate with each other by IOCTL and major function. 然后,基本上是两个不同“应用程序”的内核模式组件和用户模式组件可以通过IOCTL和主要功能相互通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM