c++ - Windows Service Command line parameters with Automatic Start -


i wrote simple windows service based on this sample. need pass couple of parameters service, command line parameters (reading service registry hive not work on windows7).
tried solution described here not work: when add parameters value in <myservice>\imagepath entry (i.e "d:\myservice.exe" "-param1" "-param2") service fails start.
.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -