B
bonk
I have created an MFC project that links MFC MFC as shared dll and uses
/MD[d] . This MFC application loads another dll B via Loadlibrary that
has /MD[d] too and also links MFC as shared dll. Dll B again loads dll C
that also uses MFC as a shared DLL dll and also has /MD[d].
Also the MFC app statically links to a .lib that has MFC linked as
shared dll and has /MD[d]
Now for some odd reason when the constructor of my MFC app is called
(CMyMFCApp:CMyMFCApp) I get an assertion in CWinApp::CWinApp in this
line: ASSERT(AfxGetThread() == NULL); (appcore.cpp).
Any Idea what I possibly might be doing wrong.
/MD[d] . This MFC application loads another dll B via Loadlibrary that
has /MD[d] too and also links MFC as shared dll. Dll B again loads dll C
that also uses MFC as a shared DLL dll and also has /MD[d].
Also the MFC app statically links to a .lib that has MFC linked as
shared dll and has /MD[d]
Now for some odd reason when the constructor of my MFC app is called
(CMyMFCApp:CMyMFCApp) I get an assertion in CWinApp::CWinApp in this
line: ASSERT(AfxGetThread() == NULL); (appcore.cpp).
Any Idea what I possibly might be doing wrong.