--- In power-pro@yahoogroups.com, "brucexs" <bruc...@...> wrote:
>
> 
> > 
> > By debugging pproshutdown is called before DLL_PROCESS_DETACH section of 
> > DllMain?
 
> I think yes, because ppro calls pproshutdown as before it returns from main 
> and returning from main is what I think triggers the system to call detach.

Makes sense.  Ta.

> > I think you also call an unload service if there is one.  That calls come 
> > when during a shutdown?  before/after above evnets?

> No, PPro never implicitly calls unload.  Only called if it is explicitly 
> called somehow by script or another plugin.

Misread help: I got it into my head that if there was an explicit defined 
unload service in exported by plugin, you called it before
causing plugin to unload.  I think I dreamed that up one night. Possibly effect 
of too mush peppermint tea the night before.





Reply via email to