Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2340) ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00563386
Message ID:
00563932
Views:
16
>> 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
Map
View

Click here to load this message in the networking platform