Working with MIDI under Windows and under LINUX requires two different approaches:
I have therefor written two PDF documents dealing with MIDI input under
Both documents try to avoid complicated frameworks (like DirectX und Windows or JACK under Linux) and concentrate on the very basics.
The Windows document concentrates on the API calls midiIn...() from the Windows SDK. The Linux document concentrates on the use of standard Linux CLI commands - but in other documents and programs on this site I have also used the Alsa API calls named snd_seq...().
If you want to contact me: this is my