Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost::Thread referenced to a MFC regular dll, assertion error occur while loading this dll
From: Eric J. Holtman (eric_at_[hidden])
Date: 2010-04-15 10:13:38


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net