
18 Apr
2010
18 Apr
'10
5:18 p.m.
Hello everyone! I have a MFC application that using boost::thread, it runs well. Now I wrapped it to a MFC regular dll, but I get a assertion error when I using this dll. // (In my another MFC dialog application) void AFXAPI AfxCoreInitModule() { ASSERT(AfxGetModuleState() != AfxGetAppModuleState()); // assertion error // the return value of AfxGetModuleState() and AfxGetAppModuleState() are both not-empty, // but they are different. ... } Any advice? thanks!