I'm a newbie to this whole C++ lark and at the same time I've decided to jump 2 feet first into MFC as well. It's the sink or swim attitude. Anyway I've written a dialog based MFC program and I've come up stumps on starting a new thread. From looking at other posts, I can see people have had the same issue as me, turning a member process into a new thread.
From the other posts I can see that you are only allowed to create a static function or use a global function. That's ok, but if I do either of these, how can I access the rest of the variables in my class? I use an read only edit box, as a form of output for my program. Kinda lost on what steps to take next. Could someone explain in stupid person step, what I need to do. I've tried using the 2 solutions but came into problems, I couldn't access member varibales from static functions, I create a new object of my class but couldn't write to my output, ....
BTW, I found this post which says that it's possible to do it without using static or global functions. However, it's a bit over my head. http://www.codeproject.com/threads/memberthread.asp