Links are not active on this page.
 SYS(2340) - NT Service Support

Disables or enables support for NT service.

SYS(2340 [,0 | 1 ])

Parameters

0

Disables support for NT Service (default).

1

Enables support for NT Service.

Expand imageReturn Value

Character

Expand imageRemarks

This function intercepts Windows logoff messages (WM_QUERYENDSESSION and WM_ENDSESSION) to Visual FoxPro and specifies whether to keep Visual FoxPro COM Server instances running or to shut them down. A Visual FoxPro application will terminate when the current user logs off Windows. If the application is a Windows Service, then that service will terminate. Enabling support for NT service will make it possible for Visual FoxPro applications to continue even if the current user logs off Windows.

Expand imageSee Also