Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run DebugViewConsole as windows service #349

Open
Roman-Bober opened this issue Mar 13, 2019 · 4 comments
Open

Failed to run DebugViewConsole as windows service #349

Roman-Bober opened this issue Mar 13, 2019 · 4 comments

Comments

@Roman-Bober
Copy link

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

@janwilmans
Copy link
Member

janwilmans commented Mar 13, 2019 via email

@Roman-Bober
Copy link
Author

Roman-Bober commented Mar 15, 2019

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
Copy link
Member

janwilmans commented Mar 16, 2019 via email

@YaarPatandarAA
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants