Results 1 to 2 of 2

Thread: QtService fails to start

  1. #1
    Join Date
    Feb 2006
    Posts
    22
    Thanks
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default QtService fails to start

    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 

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QtService fails to start

    Correct me if I'm wrong but I thought Qt Solutions are only available for valid license holders entitled to support from TT. I doubt many users on this forums can really help you in this matter. So I think you should turn to the Qt Solutions mailing list or even TT support.
    J-P Nurmi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.