Re: Vista, Outputdebugstring not working in service.

Giganews Newsgroups
Subject:Re: Vista, Outputdebugstring not working in service.
Posted by: Franz-Leo Chomse (franz-leo.chom…@samac.de)
Date:Fri, 02 Nov 2007

On Thu, 01 Nov 2007 16:12:45 +0100, Arthur Hoornweg
<antispam.hoornweg@casema.nl.net> wrote:

>Hello all,
>
>I've just found out that under Windows Vista, my services can no
>longer output diagnostic messages using OutputDebugString.
>I use the Svcom 7.0 framework  and Sysinternals' Debugview for
>visualizing the messages.
>
>Are their any ways to circumvent this, apart from using sockets
>etc?

No.

In Vista services are running in Session 0, User programs are
in Sessions 1 and above.

Since messages can't cross session boundaries, the only way
to interact with visible programs are sockets or pipes.

Regards from Germany

Franz-Leo

Replies

In response to

Vista, Outputdebugstring not working in service. posted by arthur hoornweg on Thu, 01 Nov 2007