Petit Eric wrote:
> 2008/7/22 Robert Jordan <[EMAIL PROTECTED]>:
>> Maser, Dan wrote:
>>>   The simple question is this:  When a .dll or .so is loaded by the
>>> framework as the result of a p/invoke is that library guarenteed to stay
>>> loaded for the duration of the hosting process?  Or can the framework
>>> unload the dll if it wants to?  Is there anything in a spec that
>>> indicates a standard behavior?  I've been trying to get this from the
>>> microsoft documentation but I can't seem to find anything.
> 
> 
> i see often lifetimeservices, but not sur this wath yu want because i
> never use it, but this is something like that :
> 
>                                System.Windows.Forms.UserControl test = new
> System.Windows.Forms.UserControl();
>                                test.InitializeLifetimeService();
> 

This is unrelated to p/invoke. Lifetime services are part of
.NET remoting's "distributed GC" :-)

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to