This is a weird one... not sure why this is happening.
In my .h, in my class, in the public section, I have the following:
in my class constructor, I have:
later in my program, I have:
useme = new CButton[MAX_WARP_TYPES];
but this causes the following assert from wincore.cpp to fail:
void myClass::createScreenConfig(CString path,int num)
ASSERT(pWnd->m_hWnd == NULL); // only do once
However, if I put the useme = new CButton[MAX_WARP_TYPES];
right in the function, it works correctly. What's going on?