MyOutputDebugString是对OutputDebugString的简单封装。
微软对OutputDebugString的说明文档地址:https://msdn.microsoft.com/en-us/library/aa363362(VS.85).aspx
其中我们主要关心这些:
OutputDebugString function
微软对OutputDebugString的说明文档地址:https://msdn.microsoft.com/en-us/library/aa363362(VS.85).aspx
其中我们主要关心这些:
OutputDebugString function
Sends a string to the debugger for display.
Important In the past, the operating system did not output Unicode strings via OutputDebugStringW and instead only output ASCII strings. To force OutputDebugStringW to correctly output Unicode strings, debuggers are required to call

本文介绍了如何对OutputDebugString函数进行简单封装,使其具备类似于sprintf的格式化输出功能,便于调试时使用。通过提供的源代码,可以在项目中直接引入并示例了使用方法,通过关键字过滤可以清晰显示关注的调试信息。
最低0.47元/天 解锁文章
1362

被折叠的 条评论
为什么被折叠?



