Re: problem with destructor
bArT wrote:[color=blue]
>
> When I deleted all methods except constructor and destructor I still have
> the same error. So other methods can't cause a problem but only this
> destructor or constructor.
>
> I can't add private assigment operator, because I have such error: "function
> 'class CSmtp &__thiscall CSmtp::operator =(const class CSmtp &)' already has
> a body".
> What is Your advice?
>[/color]
The block damage error message looks like the one generated by VC++.
If you are working with VC++, you could also try to insert calls
to AfxCheckMemory( ) in your code at strategic places and thus
pin down the code position where the damage occours.
--
Karl Heinz Buchegger
kbuchegg@gascad .at
bArT wrote:[color=blue]
>
> When I deleted all methods except constructor and destructor I still have
> the same error. So other methods can't cause a problem but only this
> destructor or constructor.
>
> I can't add private assigment operator, because I have such error: "function
> 'class CSmtp &__thiscall CSmtp::operator =(const class CSmtp &)' already has
> a body".
> What is Your advice?
>[/color]
The block damage error message looks like the one generated by VC++.
If you are working with VC++, you could also try to insert calls
to AfxCheckMemory( ) in your code at strategic places and thus
pin down the code position where the damage occours.
--
Karl Heinz Buchegger
kbuchegg@gascad .at
Comment