[Qt-interest] qDebug output for Windows Service (no console)?
Jon Nicoll
jkn+qt at nicorp.co.uk
Tue Sep 1 22:13:44 CEST 2009
Hi Girish
On Tuesday 01 Sep 2009 18:08:18 Girish Ramakrishnan wrote:
> Windows Services do not have a session associated with them, right? If
> so, DebugView has this 'Capture Global Win32' option to capture
> debugging output from other sessions.
>
> Another reason for failure is possibly that the integrity level of the
> service and debugview are different (google for psexec to change it).
>
> If any of the above worked, let me know :)
Thanks for your comments. I was about to say 'I'll look into this further',
but I have learned something else:
This task-tracker entry:
http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=119929
Says that in fact qDebug only uses OutputDebugString if the Platform SDK is
installed.
This seems weird behaviour to me, but I wonder if it's the cause of my
problem. Anyone else know about this? I'll experiment tomorrow and see if I
can learn more.
BTW, I'm running under XP, and most of the problems with DebugView relating to
integrity levels and psexec seem to be Vista-related FWIW.
Thanks for your help
J^n
-------------------------------------------------------
More information about the Qt-interest-old
mailing list