does it ever go past the cast point? what happens when you try{}catch and print the error out? I've injected but with writeprocessmemory. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120210/f5fda1ec/attachment-0001.html>