Subrosa
May 15th, 1998, 12:11 AM
The author of CStringEX should run Purify(memory checker) on CStringEx. It particularly complains about writing out of bounds in the Delete() function.
| // JP opened flex table
Click to See Complete Forum and Search --> : CStringEX (leaks and bugs) Subrosa May 15th, 1998, 12:11 AM The author of CStringEX should run Purify(memory checker) on CStringEx. It particularly complains about writing out of bounds in the Delete() function. Richard Fischer September 22nd, 1998, 04:53 PM Within the delete method, I changed the memmove to the following: memmove ( str+pos, str+pos+len, sizeof ( _T(' '))*(((strLen-pos)-len)+1); This solve the problem I was encountering. Richard ======= codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved. |