Installed exe 4.9i, 4913. Implemented pproshutdown() in dll in COMplugin0.63_090710.zip in http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/
If anyone else wants to test, and you have exe 4.9i, you don;t need com.unload statement in pproshutdown list. Bruce: Using global variable as suggested. unload service just calls pproshutdown(). Can't do same in DllMain, in this special case, as plugin will lock up if I do. dll Seems to work, in debug mode closing pp dropped me in a breakpoint in pproshutdown(). Message came up about a script file not being accessible during startup (script is called from startup script; it isn't on the scriptpath, but is in the scripts subfolder of config folder). Been using same startup arrangement for ages, first time accessing script at startup was a problem. Same script file was easily accessible later on (e..g. via ARB). I haven't rerun, so don't know if it was a one off or systematic. Will let you know next week. --- In [email protected], "brucexs" <bswit...@...> wrote: > I uploaded an exe only for testing, 4.9i, 4913. > http://powerpro.webeddie.com/download/powerpro.exe > > If plugin has an external entry point > void pproshutdown(void) > it gets called at pproshutdown. Only plugins loaded directly by PowerPro and > still loaded at shutdown will get called. Calls happen after pproshutdown > list processing, so if there is an unload there, then the call to > pproshutdown entry point should not happen. Note not arguments to call to > pproshutdown and that name must be lower case. >
