I'am now working on C++ Builder, and would like to sent simple data(such as integar like 65) to serial port. I heard that i somehow has to use the Win32 programming language like CreateFile and WriteFile.
that has a FAQ that will answer that. Instead of copying it here and risking copyright voilation, I would suggest you go to their site and look for the FAQ titled "Send and receive data from a serial port (RS-232)." It provides an example and some source code for programs that will work for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.