Print debug string to DebugView on Win7

Just a note to enable the debug string outputted by OutputDebugString API to be shown on DebugView on Win7.

1. Open the regedit
2. Add a key: "Debug Print Filter" under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
3. Create a DWORD value named "DEFAULT" and set its value to 0xF
4. Reboot machine

留言

熱門文章