I just want to configure the COM port to recieve data. Once the COM port is configured to recieve data, it must be able to sit and wait for the data to start coming, for up to a minute or so if possible. I use the following functions
1. I set aside memory for the struct DCB
2. BuildCommDCB(); *settings = "COM2: baud=9600 parity=N stop=1";
4. ReadIntervalTimeout = 2000;
The data is read into: char *buffer = new char;
It works pretty well at recieving, I just want to make sure I haven't left out crucial functions. Do I need to add more commands like the DTR and RTS commands or am I on the right track? I'm using C++ builder and once I push a button on my display all the above commands are executed and the COM port waits for data.
Thank You: Mike