hello,
I'm trying to use the naughter class to use the serial communication. I have a bug in my application.
I created the serial communication object and opened the communication in one thread, and I'm trying to access it from another thread.
I sent to this other thread the handle of the communication. I double checked, it's the same handle.
But the next read I try to use from that second thread returns a getLastError = 6, which apparently is because the handle is incorrect.
But it's the handle that was retrieved using HANDLE() so I don't understand what's wrong.
Please help me.
Thanks