Hi, the last patch had a couple of writeln's that were left in by accident :( Here's a patch. Andrew -------------- next part -------------- A non-text attachment was scrubbed... Name: chmreader.diff Type: text/x-patch Size: 751 bytes Desc: not available URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20071209/e51fe32e/attachment.bin>