Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to prevent appl shutdown on logoff (sys(2340) bug
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00811518
Message ID:
00811563
Views:
18
This message has been marked as the solution to the initial question of the thread.
>I log-on to Windows 2000 server console as administrator and ran my
>VFP 7 application exe file. This exe file issues a command
>
>
SYS(2340,1)
>
>in form init method and goes to read events state.
>
>According to VFP doc SYS(2340,1) prevents application to terminate
>if user logs off from Windows.
>
>Unfortunately, after logging off from windows, my application is also terminated!
>
>Any idea or samples how to let VFP appl to continue to run if user logs off or install it as service?

The way I read the docs (8.0), this function only applies to COM servers. Is your application an out of process COM server?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform