Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacement/Equivalent for the CorBindToRuntimeEx-Function?

Tags:

c++

I want to use it to inject C# dll into a process (http://www.codingthewheel.com/archives/how-to-inject-a-managed-assembly-dll/) but the CorBindToRuntimeEx-Function is deprecated...

Is there an equal function for CorBindToRuntimeEx which is not deprecated?

like image 755
a-ctor Avatar asked Oct 20 '25 18:10

a-ctor


1 Answers

Use CLRCreateInstance instead. Loading the Common Language Runtime into a Process explains how to do this in CLR v4.0+.

like image 89
Hari Avatar answered Oct 22 '25 07:10

Hari



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!