Posted on 1999-07-21
I'm trying to get some threads to work in my program, and I'm successful if I make the thread a global function. But if I do this, I'm not able to call any functions within the classes I've defined. What is the best way to tackle this situation? What I want specifically is a thread that is monitoring the serial port for incoming data. When data is present, I want to run a function (CMyGUI::ParseData()). I also want to create additional threads that open modeless dialog boxes and preform various task, such as one box that will display verbatium, everything in the serial port buffer.