Ah sorry that I've forgotten to post a link to the final project - I was just too excited by the fact that it worked ;) https://github.com/aBothe/monodevelop-win32-debugger/tree/master/DInject (The most interesting part is located in Inject.cs)