Hello!
I need to implement cross-platform service/daemon and choose QtService examples from Qt Solutions for Qt3.
I've successfully compiled examples but they all fail to start. They register/unregister themself successfully, but starting them as a service gives me: error 203 "system could not find the environment option that was entered".
In fact, this code fails:
Qt Code:
  1. int QtService::exec( int argc, char **argv )
  2. {
  3. ..
  4. // Not much point blowing up argv to wide characters - they end up being ANSI anyway.
  5. bool res = pStartService( hService, argc, (const char**)argv );
  6. ...
  7. }
To copy to clipboard, switch view to plain text mode