Click to See Complete Forum and Search --> : Unload Me
Ravi chander G
May 25th, 2001, 02:00 AM
Hello,
How do I resolve a Dr.Watson error ( Access Violation 0xc0000005) while unloading a form
Thankx
Ravi
Andrew_Fryer
May 25th, 2001, 04:55 AM
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.
Cimperiali
May 25th, 2001, 04:57 AM
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.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.