
15 Apr
2010
15 Apr
'10
2:33 p.m.
Thanks for your response, but I do not use any boost:thread functions
but just included it's head file...
Are there any solutions ? thanks a lot!
2010/4/15 Eric J. Holtman
You can't call (some) MFC functions from a thread that wasn't started with AfxBeginThread, which boost::thread doesn't use.
Generally, anything in MFC that requires access to thread-local-storage (Like AfxGetMainWnd(), etc) will be broken.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users