--- In [email protected], "Sheri" <sheri...@...> wrote: > > --- In [email protected], "entropyreduction" > <alancampbelllists+yahoo@> wrote: > > > > Yesterday's version was an rtf, this one has a bit more > > explanation and is a pdf. > > Didn't you previously say some plugins also unload other plugins? Could you > add details, e.g., when, under what conditions, etc., that currently happens?
At the moment, if any plugin of mine loads another plugin (LoadLibrary called after first checking to see if lib already loaded), it calls FreeLibrary(...) when it unloads. FreeLibrary(...) http://msdn.microsoft.com/en-us/library/ms683152%28VS.85%29.aspx : "Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count. When the reference count reaches zero, the module is unloaded from the address space of the calling process and the handle is no longer valid." So if plugin my plugin loaded was already in memory, chances are its ref count isn;t sown to zero, so not unloaded. Bruce's advice is load em and leave em, so I'll cease unloading any plugins I've loaded. But unless anyone reports problems that seem related, I'll only do that when reissing a plugin for some other reason.
