Look at SRVANY32, available as part of the Windows NT Resource Kit.
>Hi,
>
>My customer requested that they want my current application to be
>run as a service under WinNT4 environment.
>
>My current application is written using VFP5a. Please advise me
>on how to go about converting my application into a WinNT services.
>In addition, any help or advise or example to do that is very much appreciated.
>
>Thank you.
Eric Shaneson
Cutting Edge Consulting