I'm building an application which uses the console interface of the Nokia Multimedia Converter and passing in switches to control the resultant file. I can currently run this in 2 ways:
1. Straight from the command line (manually). Using this method it takes about 4 seconds to complete.
2. Running an application which starts the Converter as a new Process and passes in the switches through the command line arguments method. This requires a similar amount of time to 1.
However, I actually want to run the app as a Windows Service. When I start the Converter off as a new Process from within the Service and pass the switches/arguments (exactly the same code as used in 2) it can take up to a minute to return the resultant file.
Can anyone explain to me why there is such a difference in processing time and how I can reduce this