This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
Goal: The goal of this snippet is to create a modified version, at runtime, of an executable to prevent it from blocking the thread. Problem: I am using Mono.Cecil to perform the patch; however, something about the way it's recompiled is causing ANY modified method to throw an InvalidProgramException. To [...] read more