Good afternoon,
I'm currently working on a debugger for an ancient app and I've ran into an issue.
My goal is to inject CLR environment, so I can write majority of the debugger in pure C#; to achieve this, I've injected a C# dll with a static class inside of it.
The said class performs various things, such as allocation of the console and redirection of exceptions from the said app to it.
The issue I'm having is quite an old one, the C# class won't start working until I execute any of its' methods - hence why I've created a C++ library.
The said library will be injected into the same app and (hopefully) will be able to execute the method.
I've looked all around the internet, I've found some solutions - but all the posts are from 2009, 2010, 2013 and seem rather overdone.
I would appreciate any suggestions!