Check out
http://fox.wikis.com/wc.dll?Wiki~c0000005Error~VFPHTH
>When I run any form of my EXE everything works fine, but when I close them I get this error message
>
>Fatal error: exception code=C00000005
>called from: - ON...line 17 {c:\x\main.prg}
>
>Now, line 17 is the READ EVENTS of the app. How can I fix this?