By reverse pinvoking do you mean calling managed code from native?
Yes, that is possible, but not trivial. Basically you'll need to start up .NET virtual machine set-up its environment, and then call needed functions. Here's an example how to do it:
https://support.microsoft.com/en-...t-managed-method-from-native-code
Another option is to expose managed class as COM interface. And then use COM functionality in native code to call it. Here's an example how to do it:
https://support.microsoft.com/en-...udio.net-or-in-visual-studio-2005 If managed library you want to call doesn't expose COM interface, you can simply write small wrapper that will do it and use managed library through this COM wrapper.