--- Module: CJToolBar.cpp (DWORD*)(((LPBYTE)lpBitmapInfo) + (UINT)lpBitmapInfo->biSize); CJToolBar.cpp(161): error 826: (Info -- Suspicious pointer-to-pointer conversion (area too small)) _CLR_TO_RGBQUAD(::GetSysColor(_sysColorMap[i].iSysColorTo)); CJToolBar.cpp(178): error 666: (Warning -- Expression with side effects passed to repeated parameter 1 in macro '_CLR_TO_RGBQUAD') lpBits, (LPBITMAPINFO)lpBitmapInfo, DIB_RGB_COLORS, SRCCOPY); CJToolBar.cpp(199): error 826: (Info -- Suspicious pointer-to-pointer conversion (area too small)) } CJToolBar.cpp(359): error 1740: (Info -- pointer member 'CCJToolBar::m_pBarInfo' (line 124, file ..\Include\CJToolBar.h) not directly freed or zero'ed by destructor -- Effective C++ #6) CJToolBar.cpp(359): error 1740: (Info -- pointer member 'CCJToolBar::m_hRsrcImageWell' (line 127, file ..\Include\CJToolBar.h) not directly freed or zero'ed by destructor -- Effective C++ #6) CJToolBar.cpp(359): error 1740: (Info -- pointer member 'CCJToolBar::m_hInstImageWell' (line 128, file ..\Include\CJToolBar.h) not directly freed or zero'ed by destructor -- Effective C++ #6) CJToolBar.cpp(359): error 1740: (Info -- pointer member 'CCJToolBar::m_hKeyRoot' (line 133, file ..\Include\CJToolBar.h) not directly freed or zero'ed by destructor -- Effective C++ #6) const NMTOOLBAR& nmtb = *(NMTOOLBAR*)pNMHDR; CJToolBar.cpp(633): error 826: (Info -- Suspicious pointer-to-pointer conversion (area too small)) CRect rc; // window rect of sibling CJToolBar.cpp(702): error 578: (Warning -- Declaration of symbol 'rc' hides symbol 'rc' (line 693)) } else if (dwStyle & TBSTYLE_DROPDOWN && ( m_bShowDropArrow == false )) { CJToolBar.cpp(746): error 731: (Info -- Boolean argument to equal/not equal) tbStruct = (TBNOTIFY *)pNMHDR; CJToolBar.cpp(866): error 826: (Info -- Suspicious pointer-to-pointer conversion (area too small)) tbStruct->tbButton = m_pBarInfo[tbStruct->iItem].tbButton; CJToolBar.cpp(872): error 613: (Warning -- Possible use of null pointer 'CCJToolBar::m_pBarInfo' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 306]) _tcscpy( tbStruct->pszText, m_pBarInfo[tbStruct->iItem].btnText ); CJToolBar.cpp(875): error 613: (Warning -- Possible use of null pointer 'CCJToolBar::m_pBarInfo' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 306]) CSize m_sizeButton = GetButtonSize(pData, i); CJToolBar.cpp(1388): error 578: (Warning -- Declaration of symbol 'm_sizeButton' hides symbol 'CCJToolBar::m_sizeButton' (line 138, file ..\Include\CJToolBar.h)) CSize m_sizeButton = GetButtonSize(pData, i); CJToolBar.cpp(1430): error 578: (Warning -- Declaration of symbol 'm_sizeButton' hides symbol 'CCJToolBar::m_sizeButton' (line 138, file ..\Include\CJToolBar.h)) for (int j = i - 1; j >= 0 && !(pData[j].fsState & TBSTATE_WRAP); j--) CJToolBar.cpp(1455): error 578: (Warning -- Declaration of symbol 'j' hides symbol 'j' (line 1438)) if ((pData[i].fsStyle & TBSTYLE_SEP) && (pData[i].idCommand != 0)) CJToolBar.cpp(1613): error 613: (Warning -- Possible use of null pointer 'pData' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1561]) CJToolBar.cpp(1613): error 613: (Warning -- Possible use of null pointer 'pData' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1561]) for(int i = 0; i < nCount; i++) CJToolBar.cpp(1621): error 578: (Warning -- Declaration of symbol 'i' hides symbol 'i' (line 1612)) if ((pData[i].fsStyle & TBSTYLE_SEP) && (pData[i].idCommand != 0)) CJToolBar.cpp(1623): error 613: (Warning -- Possible use of null pointer 'pData' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1561]) CJToolBar.cpp(1623): error 613: (Warning -- Possible use of null pointer 'pData' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1561]) pControl[nControlCount].nID = pData[i].idCommand; CJToolBar.cpp(1626): error 613: (Warning -- Possible use of null pointer 'pData' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1561]) SetButton(i, &pData[i]); CJToolBar.cpp(1641): error 613: (Warning -- Possible use of null pointer 'pData' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1561]) for (int i = 0; i < nControlCount; i++) CJToolBar.cpp(1645): error 578: (Warning -- Declaration of symbol 'i' hides symbol 'i' (line 1612)) CWnd* pWnd = GetDlgItem(pControl[i].nID); CJToolBar.cpp(1647): error 613: (Warning -- Possible use of null pointer 'pControl' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1607]) CPoint pt = rect.TopLeft() - pControl[i].rectOldPos.TopLeft(); CJToolBar.cpp(1652): error 613: (Warning -- Possible use of null pointer 'pControl' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1607]) GetItemRect(pControl[i].nIndex, &rect); CJToolBar.cpp(1653): error 613: (Warning -- Possible use of null pointer 'pControl' in left argument to operator '[' [Reference: file CJToolBar.cpp: line 1607]) int nHit = GetItemID(i); CJToolBar.cpp(1753): error 578: (Warning -- Declaration of symbol 'nHit' hides symbol 'nHit' (line 1734)) if (CWnd::OnCmdMsg(state.m_nID, CN_UPDATE_COMMAND_UI, &state, NULL)) CJToolBar.cpp(2121): error 569: (Warning -- Loss of information (arg. no. 2) (32 bits to 31 bits)) --- Wrap-up for Module: CJToolBar.cpp CJToolBar.cpp(221): error 754: (Info -- local structure member 'AFX_DLLVERSIONINFO::dwBuildNumber' (line 221, file CJToolBar.cpp) not referenced) CJToolBar.cpp(222): error 754: (Info -- local structure member 'AFX_DLLVERSIONINFO::dwPlatformID' (line 222, file CJToolBar.cpp) not referenced) --- Global Wrap-up error 900: (Note -- Successful completion, 31 messages produced)