Stefan- Actually, TBP_Initialize() is called right after the DLL_PROCESS_ATTACH message gets processed, which could allow the user to set things up if necessary.
And TBP_Finalize() gets called right after the DLL_PROCESS_ATTACH messages gets processed on deleting the plugin. I have both of them defined as do-nothing stubs right now, just because you never know when you might need something like that. It's true that these things could be handled in a DLLMain() function, but it's nice to have another option as well. Saturday, January 18, 2003, 6:03:26 PM, you wrote: ST> Well, they are called when the plugin is loaded/unloaded. If you do ST> everything at the DLL entry, you simple should not implement them - ST> their absence is not critical. -Mark Wieder Using The Bat! v1.63 Beta/4 on Windows 2000 5.0 Build 2195 Service Pack 2 -- ________________________________________________ Current version is 1.62 | "Using TBDEV" information: http://www.silverstones.com/thebat/TBUDLInfo.html