CString concatenation
Hi GUys,
I am having a CString and append other CString to it by using the
+= operator. Normally that's ok but sometime the app crashes.
MSDN says:
"You should be aware that memory exceptions may occur whenever you use this concatenation operator because new storage may be allocated for characters added to this CString object. "
Ok, right. So how can I append a CString to another safely?
thanks
Please rate if it helps!
* The second mouse gets the cheese.
* Birthdays are good for you. The more you have, the longer you live.
* Always keep your words soft and sweet, just in case you have to eat them.
* Always read stuff that will make you look good if you die in the middle of it.