You have a bug in your code that causes a memory overwrite, some code is writing beyond the end of a memo ...
www.delphigroups.info