vs2019 Windows Form app (not web) there is the Serial IO and its event handler that uses a delegate,
public static void DataReceivedHandler(object sender, SerialDateReceivedEventArgs e) {
serialport sp = (SerialPort)sender;
read, put into string, etc...
}
HOW to get that data into RichTextBox1 ? or if not possible how to even use that data? Since its static it wont see the form. anything Ive tried gets a RUNTIME error saying cross thread something or other. trying to modify RichTextBox1 from a thread that didnt create it. Sorry, you lose!
whats the solution? use of Assembly? Win32 calls making the handler from scratch?