Thank you, now only have to understand the access violation error. I didn't knew to!targettype was so powerful. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120305/ac359929/attachment.html>