Problem solved.
Re-coded the entire WndSelectChar.cpp
And the error was here
pWndStaticChar[4] = (CWndStatic*)GetDlgItem(WIDC_ST_CHARNAME04);
Above it was
CWndStatic* pWndStaticChar[4];
So i thought well i didnt have to change that cause the latest is 4
I changed it to 5 and the problem was gone.
To bad the error was pointing it to somewhat different. But at least now i know what it means to have an stack cookie instrumentation code means.
Quote:
Originally Posted by jayjei14
check the following:
m_dwMotion[??]
m_pBipedMesh[??]
make sure it was 4 registered value which is 0,1,2,3
MAX_CHARACTER_LIST must be 4 because it was "<" so when you set into 3 it reads 0,1,2 only
|
Those where already changed.