Actually, I've had this problem. The stupid "Beyond Logic" error that rendered my PC pretty much useless, (I had to use the DirectX options like an animal) fixed it self today.
(Not too different to the regular fix, still)
My MIDI was also broken until I applied this thing to fix the Beyond Logic error.
Open regedit, and search:
4D36E96C-E325-11CE-BFC1-08002BE10318
Once you find it, make a multi-string value, called UpperFilters.
In the data area, put these in:
stdriver
ksthunk
Close regedit, and reboot.
Install the new Realtek driver (most people who have this problem have this problem).
Follow, and run your DAW.
(I'm not sure this works for everyone, but it worked for me. I hope this helps you!)
THE SOLUTION TO MY HEADACHE!!!!!!