It appears that I'm bombing out at this location, but I have initialized the pointer to null in the constructor:
Here is wher I am initializing the pointers...is that correct?
m_toolTip.Create( this ); // after creating, add the information
// Get pointers to CLMSDoc, XDBAccess, and CLMSApp objects
m_pDoc = (CLMSDoc *)(((CView *)(GetParent()->GetParent()))->GetDocument());
m_pDBAccess = m_pDoc->GetDBAccess();
m_pApp = (CLMSApp*)AfxGetApp(); //HERE IS WHERE I BOMB OUT
... //more code
If I am initializing the pointer..why is it bombing out?
XClosureDialog::XClosureDialog(CWnd* pParent /*=NULL*/)
: XDialog(XClosureDialog::IDD, pParent)
// CLMSDoc* m_pDoc= new CLMSDoc;
CLMSApp* m_pApp= 0;
CDataExchange* pDX = 0;
MSG *pMsg =0;