bds 2006 C hidden memory manager conflicts (class new / delete[] vs. AnsiString)

After extensive debugging i finely isolated the problem. Memory management of bds2006 Turbo C++ became corrupt after you try to call any delete for already deleted pointer. for example: BYTE *dat=new BYTE[10],*tmp=dat; delete[] dat; delete[] tmp; After this is memory management not reliable. (‘new’ can allocate already allocated space) Of course deletion of the same … Read more