AfxBeginThread throws exception

Printable View