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
Chuck Murcko
Topsail Group
http://www.topsail.org/