Re: [Mono-list] Question about the lifetime of libraries loaded by a p/invoke

2008-07-22 Thread Petit Eric
2008/7/22 Robert Jordan [EMAIL PROTECTED]: 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

[Mono-list] Question about the lifetime of libraries loaded by a p/invoke

2008-07-21 Thread Maser, Dan
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

Re: [Mono-list] Question about the lifetime of libraries loaded by a p/invoke

2008-07-21 Thread Robert Jordan
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

Re: [Mono-list] Question about the lifetime of libraries loaded by a p/invoke

2008-07-21 Thread Robert Jordan
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