>My application has suddenly begun to leave the Libraries behind. Both in the Interpreter on a standalone machine, and with the distributed exe on a network with a number of users, this intermittent error has appeared. After the application and VFP are closed, or the exe is shut, everything looks normal until the machine is shut down, and then the "Cannot Quit Visual Fox Pro" message comes up. Pressing Ctrl+Alt+Delete reveals that the application is still 'running' - it appears that something is not being removed from memory. Any suggestions anyone?
>
This normally indicates that there's a problem with your shutdown code - either a READ EVENTS is still active or you have dangling object refs somewhere. You may need to have your ON SHUTDOWN cal a UDF that issues a CLEAR GETS and RELEASE ALL before issuing the QUIT statement.