I am looking to implement some sort of message or callback within a Delphi comms program.
I have a main form and a secondary form containing all the comms stuff.
I call a function on the comms form to send a comms request.
The comms form sends the message for me and has a receive event that collected the received information (which can take 5-10 seconds)
I need some method of the comms form letting the main form that something has been received on the comms port.
What would be an appropriate way to do this?