Caolán McNamara wrote: > So all those ScDLL::Exit, and SmDLL::Exit etc. Where/When are they > supposed to be called ? Did they ever get called sometime in the past ?
IIRC they have been called in former times where a part of each "applications" code was statically linked into the "ofa"-dll. This part amongst other code contained calls to the "Init" and "Exit" methods (by using C style exports of the "real" DLL to be called into). This static library has been removed to allow for a complete decoupling of framework and application code and nowadays the sw,sd,sc,sm,basctl DLLs are loaded via UNO only (chart2 and base do that anyway as they don't use sfx2 and so never contained an "SfxModule" class that was used for the strange way to couple "applications" and framework). Each UNO service in the application libaries that can be instantiated by the UNO service manager now calls the "Init" method of its library first. But the "Exit" method now is never called and IMHO it isn't necessary to do so. The only known problem this creates is that it prevents the detection of memory leaks caused by the objects that now never get deleted. But IMHO fixing this is not worth the effort. YMMV. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
