>>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.
Thanks Ed, this is probably it, I have changed the application from a Modal Top Level Form (in a Formset) in VFP5 - which everyone said shouldn't be possible, but it is! - to a READ EVENTS structure, and haven't included these things.
David
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement