I'm stumped. My prog is crashing in the release version but not
the debug version and I can't figure out the problem.
I've narrowed it down to one line.
After i get strReplace from the ListBox, i cast it to a LPCTSTRCode:CString strReplace = ""; CListBox::GetText( nIndex, strReplace );
and send it to a function that expects a LPCTSTR as a parameter.
For some reason though, it crashes and says the memory can't
be read. Any ideas?




Reply With Quote