PDA

View Full Version : QtService fails to start



a550ee
9th November 2006, 13:06
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:


int QtService::exec( int argc, char **argv )
{
..
// Not much point blowing up argv to wide characters - they end up being ANSI anyway.
bool res = pStartService( hService, argc, (const char**)argv );
...
}

jpn
9th November 2006, 14:34
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.