I'm kinda new in asking @Stackoverflow, however it's been the closest thing I have as a Bible (other than Ritchie's C book) specially in these days of final projects for most of my subjects. Anyway, my question is about the libraries needed for an application that communicates with a HID Device and the possibility to do it with C++.

I don't need help with the Firmware, my device is already working the way I expect it to. However my only experience programming HID devices is with C (Windows - VS2010) and right now I am in a final project for Compilers class in wich we send information to a device with a matrix screen to display "stuff". My partner however needs to do something in C++ which can save us a lot of time (something nice considering its due in two days).

The whole point of this being to ask if it can be done the same way that I already have in C (with its obvious adjustments) and some parts of the code in C++ and still get to be compatible with SetupApi.DLL and HID.DLL

Any kind of advice, pointers or instructions is deeply appreciated. I include the code I have used so far.