A C++ Thread Class - CodeProject - CodeProject - For those who code
Hi Jesse ! This is very simple: in file "Thread.h" you can see this declaration: virtual DWORD Run() {_ASSERTE(false); // must override this /* // Sample thread code... while( !ShouldStop() ) {...} */ return 0;} So all you need to do is to derive from CTh
www.codeproject.com |