I had a similar problem in the beginning using w7.
The windows audio device settings had to be the same as used in Sonar.
For me this was 44.1, 24, stereo, for input and output.
And: uncheck: allow programs to take exclusive control of this device
And: communications: do nothing