I created an MFC DLL which will be launched on a thread from a Driver. The Window of the DLL is made Modal by using RunModalLoop().
But the following chunk of code is giving Access Violation
The access violation is due to the DestroyWindow() in CFrameWnd::OnClose(). The function ContinueModal is failing because the MainFrame exists no more.
Can anyone help me?