【文件属性】:
文件名称:OutputDebugString源码
文件大小:8KB
文件格式:RAR
更新时间:2013-10-07 06:13:52
原创的OutputDebugString实现过程
原创的调试时用OutputDebugString打印,用debugview接收输出
在查阅了开源的操作系统mutex用法后
实现了OutputDebugString函数,并模仿tracewin界面风格实现了接收工具,类似于debugview
上传的OutputDebugString的源码和接收器源码
全部为本人原创
vc2005调试通过
【文件预览】:
MyOutputDebugString
----MyOutputDebugString.cpp(6KB)
----MyOutputDebugString.plg(272B)
----MyOutputDebugString.vcproj.ST.Administrator.user(1KB)
----MyOutputDebugString.vcproj(4KB)
----MyOutputDebugString.dsw(561B)
----MyOutputDebugString.sln(902B)
----Release()
--------MyOutputDebugString.lib(7KB)
----MyOutputDebugString.h(386B)
----MyOutputDebugString.dsp(3KB)
网友评论
- debugview等工具是hook原理,原生outputstring本身什么都不做,所以不开监视工具的时候,执行函数不耗时,也不占用资源。 你这个基于共享内存,以进程通信的方式实现。还有互斥和事件的操作。仅作为debug信息输出,代价有点高。。
- 还不错. 还行.
- 演示了OutputdebugstringX的实现。很细致的代码。
- 值得借鉴.挺好的
- 思路蛮好的,值得借鉴,换一个函数名称,log照样能输出
- 编译通过可用
- 还可以 主要是看思路
- 借鉴一下,值得学习
- 这个不错,得好好学习一下啦
- *上有看到
- 思路不错,可以借鉴,
- *上有看到一模一样的
- 借鉴一下~,还是不错的!