More C++\CLI samples: integration with the DDK

Hi,

If you are looking for more advanced C++ \CLI samples for Microsoft Robotics Studio, or if you need to see how you can do interop to device drivers using MSRS services, I've posted two more tutorials on Channel 9 that cover this:

Basic interop - Toaster List service :http://channel9.msdn.com/ShowPost.aspx?PostID=339252

This tutorial shows how to take a basic Toaster DDK example application and turn it into a C++ \CLI DSS service. It's a step by step guide, that bridges the basics of the DDK and MSRS. You will need the Vista DDK to compile this tutorial, which is availible here:http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx

Advanced interop - USB Device View Service:http://channel9.msdn.com/ShowPost.aspx?PostID=339256

This is a more advanced tutorial, where the primary focus is to show how turn the USB View DDK sample into a Microsoft Robotics Studio DSS service. Here is a brief list of things that are covered:

  • How to write a C++ /CLI DSS service that interacts with native class based C++ code and APIs
  • How to talk to device drivers using the I/O control code (IOCTL) calls
  • How to work with managed to native and native to managed calls and data
  • How to work with subscribers and notifications in a C++/ CLI DSS service
  • How to use native to managed callbacks for notifications
  • How to add an XSLT to a C++ /CLI DSS service

You don't need the DDK to run the included binaries and test VPL diagram, but you will need the DDK if you want to compile the included code. Note that the actuall DDK discussion is outside the scope of this tutorial, and I would suggest to refer to the DDK documentation and resources if you want to find out more about the DDK side of things.

If you have any questions or run into any issues, feel free to post on this forum.

Pavel

[2397 byte] By [PavelKhijniak[MSFT]] at [2008-1-9]

Microsoft Robotics Studio

Site Classified