none
warning C4482: nonstandard extension used: enum 'CBaseSnapinItem<T>::ImageIndex' used in qualified name

    Question

  • how to solve this warning?

    warning C4482: nonstandard extension used: enum 'CBaseSnapinItem<T>::ImageIndex' used in qualified name

    If i use it as  m_scopeDataItem.nImage = ImageIndex;

    instead of this  m_scopeDataItem.nImage = ImageIndex::II_ACCOUNTING_LOG_FILE;

    it throws me error.

    Monday, May 31, 2010 6:41 AM

Answers

  • Hard to say without knowing what ImageIndex is. I assume an enum defined in CBaseSnapinItem.

    Probably what you want is this:

     m_scopeDataItem.nImage = II_ACCOUNTING_LOG_FILE;
    • Proposed as answer by ildjarn Monday, May 31, 2010 12:19 PM
    • Marked as answer by Yi Feng LiModerator Monday, June 07, 2010 3:22 AM
    Monday, May 31, 2010 6:47 AM
    Moderator