MIDI Input in Cakewalk

Okay, I have fixed it. The problem was that Cakewalk missed activating the MIDI event bus. So, the bus was not activated internally, but the host still sends MIDI events correctly. If I disregard the event bus active state, it works fine.