Re: Where do you go after FinalRelease?
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Tue, 5 Sep 2006 13:53:23 -0700
Your destructor executes right after FinalRelease. It in turn
invokes the destructors of all member variables and base
classes.
Set the exception for Access Violation to break into the
debugger when thrown. This will give you the exact place
where the exception occurs.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Dave" <dave5398@xxxxxxxxxxxxxx> wrote in message
news:etPqW9N0GHA.4264@xxxxxxxxxxxxxxxxxxxxxxx
I carry out a cleanup in FinalRelease() such as deleting all heap allocated
memory etc. This all happens OK but I am getting an "Access violation"
AFTER this point and I have no idea where to look to debug it. Can someone
please help?
Dave
.
- Follow-Ups:
- Re: Where do you go after FinalRelease?
- From: Dave
- Re: Where do you go after FinalRelease?
- References:
- Where do you go after FinalRelease?
- From: Dave
- Where do you go after FinalRelease?
- Prev by Date: Re: User breakpoint
- Next by Date: Re: Where do you go after FinalRelease?
- Previous by thread: Where do you go after FinalRelease?
- Next by thread: Re: Where do you go after FinalRelease?
- Index(es):
Relevant Pages
|