Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp exe run as service on NT4
Message
From
09/09/2001 10:28:04
 
 
To
07/09/2001 11:00:39
Alina Panaghiu
Smart Computers
Arad, Romania
General information
Forum:
Windows
Category:
Configuration
Miscellaneous
Thread ID:
00553805
Message ID:
00554403
Views:
10
Hi!

If you have Windows NT Resource Kit, you can use the SRVAny.EXE tool that can help you run ANY program as a service.

But beware about a lot of pitfalls here. 2 of them:

1. When user log out, all applications ran under that user account are also closed. This is also for services, so configure your service to run using account that you know will never be used to log on on that machine.

2. SRVAny use TerminateProcess() Windows API function to finish the service application (for example, when server shutdown/restart). This is similar to how KILL utility works - it can stop the program from working at any moment, include at the moment when that program did not finished work correctly. For this one there is a solution that is somewhat tricky and complex. Let me know if you need such level of reliability, I will describe more...

>I want to run an vfp exe file as service on NT4 because I need that program ( who reads from an comm port) to run even if i'm not logged in .
>Thanks,Alina
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform