I\'m trying to inject a managed c# dll into a native executable. I\'m injecting the following code into the executable in order to load the CLR.
I know the injection
I've found the answer to the problem, atleast for me, the process that the bootstrap is injected into needs to have admin permissions. It took me ages to realise as all programs have admin permissions by default for me, and once I started the process I was injecting into as Administrator it worked!