Fixing a Win32 com port loopback program

Job ID: 34736500

Budget: $30 – $250 USD

This nearly works but the programmer did not finish (was paid) and communications were sporadic.
The file spec.txt describes what it is and what needs fixing.
Probably very little needs fixing.
This is for somebody familiar with MS Visual C/C++ and driving COM ports under Windows.
Target is win7-64 or higher but it would be nice if it runs under winXP.
I have also uploaded a free com port emulator but I don't think this will be needed. I think the errors will be obvious.