Windows store apps (windows 8.1) provides c# sample code (namespaces) like for usb device communication. Can i use same c# sample code for windows desktop app or is there any way to use those in windows desktop app.
Yes, it is possible!
If it is a good idea or not is another question. Scott Hanselman, well known Microsoft employee, has a nice blog about this problem. You can find it here:
http://www.hanselman.com/blog/HowToCallWinRTAPIsInWindows8FromCDesktopApplicationsWinRTDiagram.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.