|
-
May 25th, 2001, 02:00 AM
#1
Unload Me
Hello,
How do I resolve a Dr.Watson error ( Access Violation 0xc0000005) while unloading a form
Thankx
Ravi
-
May 25th, 2001, 04:55 AM
#2
Re: Unload Me
Have you checked that you are not trying to close the form twice, perhaps in a close button and then in the Form_Close event? That would cause errors.
-
May 25th, 2001, 04:57 AM
#3
Re: Unload Me
Once I had a similar matter. That time it was caused by a component (dll or exe activex) not correctly closed and setted to nothing as inside it had an api call to create and destroy a timer which was not destroyed correctly. Point is: check for correctly unload all loaded components and for set them to nothing, and check for correct closing of components (maybe to generate a log file on Terminate event could help) and free of memory resources.
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|