How to PostThreadMessages?



I'm trying to create a CWinThread derived class.

To start the thread using AfxBeginThread, I had to declare my UINT Loop
function as static.

Now, how do I call other parts of my CWinThread derived class?

I have tried using PostThreadMessage, but this is an illegal call of a
non-static member function.

So, how do I call other parts of my class?


.


Loading