Skip to content

Failed to run DebugViewConsole as windows service #349

@Roman-Bober

Description

@Roman-Bober

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions