Reddy JS,
You might want to try changing around the sample rate and buffer size. For example, sample rate 1.6M and buffer size 20, or sample rate 800K, buffer size 10. Keep in mind 3.6M is faster than you can go with both channels (2.5MS/s max update rate with two channels) and approaching the max update rate for one channel, 5MS/s. Also, I found some other VC++ analog output examples. You might want to look through those. Hope this helps!
-Alan A.