There are a number of causes....I ran into it with any screen IO calls after CLEAR EVENTS (such as ZOOM WINDOW or MODI SCRE) or anything like that.
Have you installed VFP6 SP3?
>I have several .exes that I get a Fatal error on when the program quits. I, of course, have a READ EVENTS in the .Start method of my application object to get things started. When the user quits the program I call CLEAR EVENTS. Everything seems to work fine, and the pprogram shuts down just fine, but I get a Windows Fatal error 5 after the program is cleared from the screen. I have tried commenting out everything in my .CleanUp method. It does not seem to do it on computers that have VFP installed, just the computers where only the program is installed. I must be missing something, any ideas?
>
>Ed
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05