Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

OutputDebugString() from Windows services in Windows 7

$
0
0
 I have created a simple Windows service in Visual C++ 2012. I am able to get the service up and running . But the thing is I have put some OutputDebugString() trace messages in the service in the service but these are not displayed in DbgView. I found some similar posts in various forums but  was not able to find an answer. I read that this is due the isolation of service in session0 and shifting of user apps to session1 from Vista onwards. Any solutions/work arounds for this so that I can get my debug traces from the service?

Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>