There must be something a bit unusual about the class for these global variables. I have been unable to write a class with a destructor which causes atexit() to be called. I'm sure I'm missing something simple. At any rate, I'd appreciate if you would submit a test case that allows me to reproduce this behavior. Keep in mind it doesn't have to actually run. A clean build is all that is required.
Thanks and regards,
-George