缺少由Windows服务WXP与W7启动的后台进程的DebugOutput [英] Missing DebugOutput of a background process started by windows service WXP vs. W7

查看:60
本文介绍了缺少由Windows服务WXP与W7启动的后台进程的DebugOutput的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有

我正在使用Mark Russinovich的DebugView来查看DebugOutput发送的消息。使用W-XP我从来没有遇到过任何问题,所有DebugOutput消息都在DebugView中可见。



现在W7:我有一个后台进程(没有GUI)。



a。)如果我通过双击资源管理器启动此后台进程,调试消息将显示在DebugView中。事实:如果我从资源管理器中双击启动后台进程,则该进程在当前帐户(我的帐户)下运行。



b。)如果我在服务的帮助下启动相同的过程,没有DebugMessage到达调试视图。

此案例中的帐户是SYSTEM。



c。)所以我将服务配置为在我的帐户下运行强制,后台进程也将在我的帐户下运行,希望DebugOutput将到达DebugView。



但很遗憾没有DebugOutput到达DebugView。



我错过了哪里,我错了?

提前非常感谢。

Dear all
I’m using DebugView from Mark Russinovich to view my messages send by DebugOutput. With W-XP I never had a problem, all "DebugOutput" messages where visible in DebugView.

Now W7: I have a background process (no GUI).

a.) In case I start this background process by double clicking in the explorer, debug messages are displayed in DebugView. Fact: If I start the background process by double-click from explorer, the process runs under the current account ("my account").

b.) If I start the same process by the help of a service, no DebugMessage arrives in debug view.
Account in this case is "SYSTEM".

c.) So I configured the service to run under "my account" to force, that the background process will also run under "my account", in the hope DebugOutput will arrive in DebugView.

But unfortunately no DebugOutput arrives in DebugView.

What I’m missing, where I’m wrong?
Thank you very much in advance.

推荐答案

我总是以管理员身份运行

并在菜单中使用Capture Global Win32运行。



总是对我有用。
I always run as Administrator
and run with "Capture Global Win32" in the menu.

That always work for me.


这篇关于缺少由Windows服务WXP与W7启动的后台进程的DebugOutput的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆