>> What previously happened was the service would start and everything would be okay until a user logged into the system. When they logged out, the VFP service application would shutdown. SYS(2340) intercepts the logoff message and depending on the setting, ignores it so your application continues to run. It will still terminate if a shutdown message is detected, but only then. <<
Exactly the way I was thinking about it as well. The only problem is I wrote a sample form in the Init of the form I called the SYS(2340,1). No problems ran the form had it running and logged out. The QueryUnload Event did not fire, but the program was released from memory. I know the current app was not a service, but VFP should not have ended the app.
Précédent
Suivant
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