hi, i got a very weired problem here ( at least it is weired enough for me)
i have some edit boxes and combo boxes in my dialog. and i want the edit box to reflect some value. so i associate a CString m_data to each of the edit box. however, when i did so for the last one, and when i execute the program, it gave an assertion failed error, saying: 'Debug Assertion Failed". in the file: afx.inl
Line 122.
then when i debugged it, it leads me to the line:
saying: ASSERT(m_pchData !=NULL);
i thought it is that variable got some error, then i changed the last one to another variable. still, got error, so it means, no matter which variable is the last one, it gives error.
is it that a dialog got a maximum limit for the number of edit boxes?
anyone encountered the same problem before?
your suggestion would be grateful received!
kaya
i have some edit boxes and combo boxes in my dialog. and i want the edit box to reflect some value. so i associate a CString m_data to each of the edit box. however, when i did so for the last one, and when i execute the program, it gave an assertion failed error, saying: 'Debug Assertion Failed". in the file: afx.inl
Line 122.
then when i debugged it, it leads me to the line:
saying: ASSERT(m_pchData !=NULL);
i thought it is that variable got some error, then i changed the last one to another variable. still, got error, so it means, no matter which variable is the last one, it gives error.
is it that a dialog got a maximum limit for the number of edit boxes?
anyone encountered the same problem before?
your suggestion would be grateful received!
kaya