Destroywindow of one CDialog pointer invoked the destroywindow of another CDialog , in which both are not related

D

dibin sebastian1

I have an MFC application, In which one dll consist of a CDialog pointer A. This pointer is initialized and dialog is created through Create MSDN API. Another dll loaded by the same application also consists of CDialog pointer B. This pointer is also initialized and dialog is created through Create MSDN API.In between, purposefully, it is called CWnd::DestroyWindow of CDialog pointer A, but this is internally first called the DestroyWindow of CDialog pointer B. There is no specific parent or owner relationship between these two dialogs. So I couldn't figure out the exact cause of this iss

Continue reading...
 
Back
Top Bottom