--- Module: CJMDIFrameWnd.cpp if( pDock || !pDock->IsKindOf(RUNTIME_CLASS(CCJDockBar)) ) { CJMDIFrameWnd.cpp(227): error 413: (Warning -- Likely use of null pointer 'pDock' in left argument to operator '->' [Reference: file CJMDIFrameWnd.cpp: line 227]) BOOL bNeedDelete = ! pDock->m_bAutoDelete; CJMDIFrameWnd.cpp(228): error 613: (Warning -- Possible use of null pointer 'pDock' in left argument to operator '->' [Reference: file CJMDIFrameWnd.cpp: line 227]) pDock->m_pDockSite->RemoveControlBar(pDock); CJMDIFrameWnd.cpp(229): error 613: (Warning -- Possible use of null pointer 'pDock' in left argument to operator '->' [Reference: file CJMDIFrameWnd.cpp: line 227]) pDock->m_pDockSite = 0; // avoid problems in destroying the dockbar CJMDIFrameWnd.cpp(230): error 613: (Warning -- Possible use of null pointer 'pDock' in left argument to operator '->' [Reference: file CJMDIFrameWnd.cpp: line 227]) pDock->DestroyWindow(); CJMDIFrameWnd.cpp(231): error 613: (Warning -- Possible use of null pointer 'pDock' in left argument to operator '->' [Reference: file CJMDIFrameWnd.cpp: line 227]) --- Global Wrap-up error 900: (Note -- Successful completion, 5 messages produced)