>> 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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only