When the program starts create a table called requests
When someone requests a service add a record, and leave the records open,
When the request is completed either deleted aor datetime stamp the record as completed.
When the program shuts down, delete the table.
Write a program that monitors the directory for this table.
If table exist, NT service is not running
If Table has no records, No open client requests.
David W. Grewe
Dave@internationalbid.com
My question is that the NT service(VFP EXE) is automatically run whenever the server is up. If someone go to "Control panel/Service" to stop my service(VFP EXE), how can I have know this kind stop-service request ? or If someone "End Task" on my service, How the program can detect it and accept or refuse the request ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.