You don't give much information :-(
Firstly, I doubt it's anything to do with 32 or 64bits. Are you using Sonar 64 or 32 bit?
Are the sounds on the computer ones you have recorded or loops, or what?
What is your soundcard and MIDI interface?
One thing to try, and a good idea anyway if you've not already done it, is to increase the MIDI buffers in preferences.
Open Edit menu/preferences and click the "Advanced" switch at the bottom.
Go to MIDI/playback and recording and where it says "prepare using...buffers" set that to 500ms. This may not solve your problem, but can sort out a lot of MIDI timing issues and is usually a good idea.