U can send data to serial port using "outportb" command......
I have done it in Turbo C++ compiler.........
I am also attatching a file with the title Interfacing the serial / Rs 232 port....it contains all the info one needs to know about serial port data transfer.....also contains C++ codes for doing so.....Hope that this solves ur problem
for proper syntax open turbo C compiler and find outportb in help.....
you simply use the Windows API if you programming in Windos.
IF you search in google you can find many links and examples to serial port programming.
Bye.
This method will work even under Windows 95. It is probably also the quickest way to do it as it doesn't require any intermediate DLL, ActiveX control, etc to do it.