1、afx.inl 的问题,debug assertion failed! line 122!要命编译的过程中没问题,运行时报错,不知道这种运行时出错的情况怎样调试?,afx.inl这个文件是干什么用的?,在那儿呀?
2、怎样编译release版本的可执行文件呀?
我改了“工程”-“属性”的"win debug "为"win release"可好像改不过来呀!它还是以“win debug"编译的,改不过来?
2、怎样编译release版本的可执行文件呀?
我改了“工程”-“属性”的"win debug "为"win release"可好像改不过来呀!它还是以“win debug"编译的,改不过来?
最好删掉所有编译产生的文件,再重新编译一下
_AFX_INLINE CStringData* CString::GetData() const
{ ASSERT(m_pchData != NULL); return ((CStringData*)m_pchData)-1; }ASSERT所在的行就是第122行。