Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Set Windows 2003 Service Parameters?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to Set Windows 2003 Service Parameters?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01239640
Message ID:
01239640
Views:
48
Hi

I created a VFP service and installed it on the server but it appears not to interpret my AppParameters correctly.

I want to pass three parameters to the service when it starts so I set the value of the AppParameters in the registry to:

c:\mfolder\mysubfolder\ c:\mytempfolder .T.

However the service does not create the logs I expect in the specified folder but it does create them when I run it as a normal application. So I assume that it is not getting the correct values for the parameters. Can anyone tell me how these parameters should be specified?

The service is an exe that has the following parameter statement at the beginning.

LParameters tcpath,tcTemp,tlLog

Thanks
Simon
Simon White
dCipher Computing
Next
Reply
Map
View

Click here to load this message in the networking platform