Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Set Windows 2003 Service Parameters?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01239640
Message ID:
01239687
Vues:
8
Hi Sergey

I was just about to post a reply to myself to say that the parameters are all treated like string but you beat me to it.

Thanks,
Simon



>Only string parameters can be passed to an EXE. See How to pass parameters to VFP EXE FAQ #17861 for details.
>
>>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform