CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: destructor



> I am getting the error "Virtual function 'CMD::~CMD()' conflicts
> with base class 'Classes::TFileStream'.  I am simply deriving a
> class from TFileStream and trying to free up some memory in the
> destructor.  Here is a short example of what I'm trying to do.
> 

Since you are overriding the TFileStream destructor, you may need 
to use the __fastcall calling convention.  Just a guess.


Michael Trier
Developer's Corner Journal
http://www.pobox.com/~dcj/journal
mailto:mtrier@pobox.com
-----------------------------
Actual News Headlines:
  Astronaut Takes Blame for Gas in Spacecraft



W Komornicki's Home Page | Main Index | Thread Index