I am developing a tool using VC++.net 2008, which is connected(using Serial Port) with a PC Board.
When I am Writing ( a Command) to the Processor(on Board) it gives certain datas and Read by my tool.This data is taking for further process. This Write-Read function is threaded and continuously do in every seconds. Initially both process has worked. But Data Write is not processing after first second.(problem is not in code-I've excluded Read process n ithas worked)

Do I clear any buffer or Serial Settings before this Write-read Application.Any experienced plz. help 2 fix it???(source code plz....)