Re: SVCOM - anyone know how to pass a command-line parameter?
- From: Jeremy Brown <jeremy@xxxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 13:14:47 -0600
Arthur Hoornweg wrote:
Hello all,
I use the SVCOM 7.0 framework for my NT services.
I need to pass a command-line parameter to one of my services when it starts but I can't find how. I would have asked in their forum but it appears broken currently.
The syntax I currently use is:
myservice.exe /START:servicename /PARAMS:list-of-parameters
however, when I query the parameter list using param[x], it returns only "servicename".
Any clues?
Use the SvComFindCommand method. Example:
if SvComFindCommand('console') then
ForceDebugToConsole
else
ForceDebugToFile;
.
- References:
- SVCOM - anyone know how to pass a command-line parameter?
- From: Arthur Hoornweg
- SVCOM - anyone know how to pass a command-line parameter?
- Prev by Date: Re: Conversion component Meter/Feet-Inch
- Next by Date: Re: SVCOM - anyone know how to pass a command-line parameter?
- Previous by thread: SVCOM - anyone know how to pass a command-line parameter?
- Next by thread: Re: SVCOM - anyone know how to pass a command-line parameter?
- Index(es):
Relevant Pages
|
|