Hi, I've created patch & test program for long time issue http://bugs.freepascal.org/view.php?id=13722 Would be nice if someone can review and apply if patch is ok (patch & test uploaded). tnx zeljko