I am still seeing the problem with mixing my CEvent class with the one from MFC.
MFC is not used in the current workspace, yet VA insists that CEvent is derived from CSyncObject and has some ghost members:
Here is the definition for CEvent:
class CEvent
{
public:
CEvent(LPSECURITY_ATTRIBUTES, bool, bool);
CEvent(LPSECURITY_ATTRIBUTES, bool, bool, const tstring&);
CEvent(LPSECURITY_ATTRIBUTES, bool, bool, LPCSTR);
CEvent(LPSECURITY_ATTRIBUTES, bool, bool, LPCWSTR);
virtual ~CEvent(void);
HANDLE GetEvent(void) const;
void Wait(void) const;
bool Wait(DWORD) const;
void Reset(void);
void Set(void);
void Pulse(void);
bool Check(void);
private:
HANDLE m_hEvent;
// No copies
CEvent(const CEvent& rhs);
CEvent &operator =(const CEvent& rhs);
};
(again you can also see the duplicate entries in the VA view)