What you have not made clear, and I could go look it up, but is this a USB connection or a MIDI connection via an interface?
USB type connections that send MIDI data seem to not need drivers. They immediately show in Sonar. 32 or 64 bit has nothing to do with this.
For me the normal process has been. Turn on computer.
Plug in the new USB device. Windows will pop up the notification that it has found a new USB device. It will automatically deal with it and end of story.
Then you boot Sonar and it will now be a new device on the MIDI list of in/outs.