> OK, I found the reason that CWinThread::InitInstance() was returning > FALSE. It's because CWinThread::InitInstance() always returns FALSE! > When I changed my own thread's version of InitInstance() to return > TRUE (instead of return > CWinThread::InitInstance()) all works fine. > Seems pretty hokey to me. Why's the documentation say that > CWinThread::InitInstance should return nonzero if successful?
Aha! Maybe the MFC designer intended to make you override this function all the times, and they didn't know C++ supports the concept of pure virtual functions! ;-) ------------- Ehsan Akhgari Farda Technology (http://www.farda-tech.com/) List Owner: [EMAIL PROTECTED] [ Email: [EMAIL PROTECTED] ] [ WWW: http://www.beginthread.com/Ehsan ] Such persons vaunt about not lying: but inability to lie is still far from being love to truth. -Thus Spoke Zarathustra, F. W. Nietzsche _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
