Главная страница | назад





Article #16765: Write to COM port in 32-bit

 Question and Answer Database
FAQ1765C.txt Write to COM port in 32-bit
Category :Windows API
Platform :All
Product :BC++ 5.x
Question:
What command is available for Borland C++ 4.5 to write to a com
port opened with CreateFile. I need a 32 bit function
to write to the port because the baud rate must be 38400.
I need a simmilar command to TransmitCommChar, but it should
work with CreateFile and not OpenComm.
Answer:
Look at the Communications section in the Win32 on-line help for
information about ReadFile and WriteFile for serial
communications.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99