"How do you initialize runtime and GC?"
I don't... it should simply call loadlibraryA on the target dll.
your C example works however.
There must be something wrong with both my method and that injector. My example is used by a number of different sources and works for them. I don't know why it suddenly stopped working for me.
it used to work in the past...