Subj : serial comm To : borland.public.cpp.borlandcpp From : "Vicente" Date : Mon Nov 17 2003 09:58 am Hello, I don't know if this is the appropiated newsgroup for this question, but I try anyway, so if you can answer, I'm sure you will do. I thanks you in advance. Well that is my question: I need to change the COM's speed in a serial communications application to receive data, but I have to do that just after the last character has been sent by the UART. How can I know the last bit of the character has been sent? I´ve tried FlushFileBuffer(), that does not take the effect I want because that function only writes the data to the UART and I need to know the exact moment in wich the last bit has been sent over the line. -- -------------------------------------------- Vicente Castillo Arnazo Ingeniería de Desarrollo (Area software) INELCOM Polígono F, Nave 5 46800-Xàtiva(Spain) Tfno.:0034-96 228 03 30 Fax.: 0034-96 228 04 82 www.inelcom.com Email : castillo@inelcom.com -------------------------------------------- Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada, confidencial y legalmente protegida. No hay renuncia a la confidencialidad o privilegio por una transmisión errónea o indebida. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que borre de su sistema el mensaje, todo su contenido adjunto así como las posibles copias generadas y nos lo comunique inmediatamente por esta misma vía. Cualquier opinión incluida en este mensaje proviene del remitente salvo expresa autorización e indicación de INELCOM. This message is intended exclusively for its addressee and may contain information that is privileged, confidential and legally protected. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately delete it, attached information and all copies of it from your system, destroy any hard copies and notify us via e-mail. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them of INELCOM. .