I am trying to write a program which sends text from a forms Rich Edit Boxes via 2 serial ports( COM3 and COM 4 have 2 rich edit boxes each for incoming and outgoing text) using Borland C++ Builder 2006. This program uses some C++ serial port communication library code I downloaded. I have also created a buffer for each of them. The serial ports are opened successfully when I run this program. However, I can't get the rich edit boxes to display the texts their serial ports have received. The files containing the codes are as follows:
1. serialcomform.cpp

2. serialcomform.h

The library files are as follows:
1. rlserial.cpp
2. rlserial.h
3. rldefine.h
4. rlthread.h
5. rlwthread.h

The documentation of the library codes can be found at http://pvbrowser.de/pvbrowser/sf/manual/rllib/html/classrlSerial.html"> http://pvbrowser.de/pvbrowser/sf/manual/rllib/html/classrlSerial.html
Also find attached some of the project files in case you want to compile and run it.

1. serialkomm.cpp


Can comeone please help me with this problem?
Thanks!

NB: I'm sorry if I haven't followed all the forum's posting rules. It's my first time and I've done it to the best of my understanding.

>>NB: I'm sorry if I haven't followed all the forum's posting rules. It's my first time and I've done it to the best of my understanding

You did ok -- at least you tried which is more than many do. :)

I'm not able to help you out because I don't have that compiler.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.