Introduction - If you have any usage issues, please Google them yourself
This procedure achieved a serial port input detection. Getcommmodemstatus function used to obtain line states, that is, the potential value of serial port.
Packet : 17869319rs232_di.rar filelist
RS232_DI\Project1.bpr
RS232_DI\Project1.cpp
RS232_DI\Project1.exe
RS232_DI\Project1.obj
RS232_DI\Project1.res
RS232_DI\Project1.tds
RS232_DI\Rs232_di.exe
RS232_DI\Unit1.cpp
RS232_DI\Unit1.dfm
RS232_DI\Unit1.h
RS232_DI\Unit1.obj
RS232_DI\Unit1.~cpp
RS232_DI\Unit1.~dfm
RS232_DI\Unit1.~h
RS232_DI