CobaltFusion/DebugViewPP

Failed to run DebugViewConsole as windows service

Opened this issue · 4 comments

Install windows service , define service to Log on as admin account(not localhost)
Run DebugViewConsole under this service/user
Result
Fails with following exception
" Unexpected error occurred: CreateDBWinBufferMapping
Listening for OutputDebugString messages...
Another DebugView++ (or similar application) might be running. "
Expected:
To run as normal

After debugging the code notices, that when running the DebugViewConsole as service following code
executed
~\DebugViewPP\DebugViewConsole\DebugViewConsole.cpp:128
if (IsWindowsVistaOrGreater() && HasGlobalDBWinReaderRights())
logsources.AddDBWinReader(true);

When running process regularly(via cmd prompt) it's not executed
After comment out above if statement the issues was fixed
Please help
OS tried windows 7 with latest updates

Hi Jan,
Thank you for such prompt reply
actually debugviewconsole was crashing under the windows service...
I think it would be sufficient to log messages only from user account that runs the windows service as a workaround

Thanks,
Roman

@janwilmans Any progress of this issue?

I am also facing the same problem as @Roman-Bober while trying to run DebugViewPP Console as a windows service.