I've already googled the **** out of the web in search of a simple way to get data from a connected midi device. I'm using I Visual Studio 2010 on a Win7 64bit PC.
I've already tried libaries like Improv, JDKSmidi, Portmidi All their example programs compiled with errors and Portmidi did not really provide a useful documentation.
All I want to do, is to read midi input on windows in my program. (Maybe even without an extern libary?)
Take a look at rtmidi. It is small (2 headers and one .cpp file) and very easy to use. http://www.music.mcgill.ca/~gary/rtmidi/