The program of information interaction of technical means of CAD on Win32 API
To organize communication via a serial interface, you need to install a virtual emulator of COM ports. I used VSPE: http://www.radioscanner.ru/files/miscsoftware/file9815/