Hi
My context si a Win32 App, which calls some .NET managed classes, through a flat C interface (note that,
these .NET managed classes has some thread specific data).
So to acheive this, I'm trying to use the technique "Loading the Common Language Runtime into a Process" (http://msdn.microsoft.com/en-us/library/vstudio/01918c6x(v=vs.100).aspx).
The CLR Srart correctly, execution goes fine... the problem which remains is at finalization. When I call ICLRRuntimeHost->Stop(), I'm still on the main thread but, as I come in the .NET managed assembly, the classes destructors are called on another thread which is listed as "Thread GC Finalizer" !
How can I control this, and have the classes destructors called on the same thread constructors have been launched ?
Thanks in advance
Nico F.