Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-26 Thread Mathias Bauer
Caolán McNamara wrote: On Thu, 2008-09-25 at 23:41 +0200, Mathias Bauer wrote: Caolán McNamara wrote: On Thu, 2008-09-25 at 15:11 +0200, Mathias Bauer wrote: 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

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-26 Thread Kay Ramme - Sun Germany - Hamburg
Hi Mathias, Caolan, IMHO right approach for _all_ library (de-)initialization is to use the library c'tors / d'tors (AKA _init / _exit, DLLMAIN etc.). This would also avoid the problems we are every once a while facing regarding shutdown ... Kay Mathias Bauer wrote: Caolán

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-26 Thread Mathias Bauer
Kay Ramme - Sun Germany - Hamburg wrote: Hi Mathias, Caolan, IMHO right approach for _all_ library (de-)initialization is to use the library c'tors / d'tors (AKA _init / _exit, DLLMAIN etc.). This would also avoid the problems we are every once a while facing regarding shutdown ...

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-26 Thread Kay Ramme - Sun Germany - Hamburg
Hi Mathias, Mathias Bauer wrote: Kay Ramme - Sun Germany - Hamburg wrote: Hi Mathias, Caolan, IMHO right approach for _all_ library (de-)initialization is to use the library c'tors / d'tors (AKA _init / _exit, DLLMAIN etc.). This would also avoid the problems we are every once a while

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-26 Thread Mathias Bauer
Kay Ramme - Sun Germany - Hamburg wrote: Hi Mathias, Mathias Bauer wrote: Kay Ramme - Sun Germany - Hamburg wrote: Hi Mathias, Caolan, IMHO right approach for _all_ library (de-)initialization is to use the library c'tors / d'tors (AKA _init / _exit, DLLMAIN etc.). This would also

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-26 Thread Kay Ramme - Sun Germany - Hamburg
Hi Mathias, Mathias Bauer wrote: Not linked against - it's different. As an example, many Writer code will fail if the desktop service or some others have been destroyed already. Where's the guarantee that the desktop will still exist when the Writer dll gets unloaded? When will it be unloaded

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-25 Thread Caolán McNamara
On Thu, 2008-09-25 at 15:11 +0200, Mathias Bauer wrote: 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. Possibly still the

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-25 Thread Mathias Bauer
Caolán McNamara wrote: On Thu, 2008-09-25 at 15:11 +0200, Mathias Bauer wrote: 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.

Re: [dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-25 Thread Caolán McNamara
On Thu, 2008-09-25 at 23:41 +0200, Mathias Bauer wrote: Caolán McNamara wrote: On Thu, 2008-09-25 at 15:11 +0200, Mathias Bauer wrote: 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

[dev] [Sc|Sw|Sm|etc...]DLL::Exit

2008-09-23 Thread Caolán McNamara
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 ? C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL