Shameless plug for a .NET library I wrote to help interop between compiled x86 binary and .NET:
https://github.com/blurt/X86.Interop
Guide to inject your .NET dlls into a native process: https://www.codeproject.com/Articles/607352/Injecting-NET-As...