void ThreadLoadEbook::Execute() { // let OpenMobiInWindow handle the failure case as well OpenMobiInWindow(doc, win); // the thread should already have terminated by now Join(); }
virtual void Execute() { // let OpenMobiInWindow handle the failure case as well OpenMobiInWindow(doc, win); }