The read fonction in Borland C++ Builder
Posted on 1998-07-29
I have to read on the serial port in Hyper-console mode. I use the read fonction:
read(IDcom2,&szCommandString,1); where IDcom2 is the handle, obtain with the open fonction, szCommandString is my buffer and i have just 1 charactere on my serial port. szCommandString is a char . The Compilation is OK, but when I execute my program, the program stopped at the read fonction?? and I don't no why?
Can you help me?