Original Post
Hi all, I have a problem. The code: MyString str3 = str2; causes an error when the application closes, namely when str2 is destructed and I try to free the memory. I've tracked this to the fact that the string memory that I've allocated with my MyString implementation has already been released when str3 goes out of scope. The above operation does not call the operator= or either of the constructors specified. The only way I've managed to get this to work is by changed the test to be: CODE MyString str3; str3 = str2; Any comments/suggestions gratefully received! Thanks in advance