I need to know how to do Com/SerialPorts in Borland C++ 5. From what I see, its pretty easy to set one up and write to it using the Win32SDK (CreateFile(), ReadFile(), WriteFile()), however, a callback function for incoming data would be welcome...byte per byte would be better. Or if I could find a Serial Port object/control in Borland that I could just drop onto the form, that would be welcome as well. Then it would know the method to call to give me my data. I really don't want to have to hand code a messaging loop doing the PeekMessage() GetMessage() thing myself.
Any help? Thanks.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.