Oops. I meant "add a LoadLibrary directive" below.
On Wednesday, February 28, 2001, at 06:30 PM, Chuck Murcko wrote:
> A friend of mine has a problem:
>
> "we have an Apache module that we use here.
> It uses c++.
> so, on FreeBSD, the libstdc++.so registers an atexit routine to perform cleanup.
> we don't link stdc++ statically instead we use LoadFile.
>
> when apache loads the file it registers a cleanup routine.
> this cleanup happens before exit. when exit is called the atexit routine (
> which is now unloaded) gets called. bang!"
>
> Does he need to write LoadLibrary() so his module just never unloads, or am I
>missing
> some trick he can do?
>
Chuck Murcko
Topsail Group
http://www.topsail.org/