hey this is my final year project........the project is that.........we are controlling a car using this software,.........i've made a code for video streaming too.........but when while capturing when i press the numberpad1 and numberpad3 for left right turn i finds a little delay in printing the counts in their corresponding labels........but when video streaming is not on it works perfectly without delay.........
can anyone help me to solve this problem..........

http://www.4shared.com/file/vs7VniG7/PROJECT.html

Is your application single threaded?

there is a little delay when i press number0 or number3 at the same time when video is on

can anyone tell me how to code the above project a little more perfect without any sorts of delay

can anyone help me please................