文件名称:dcWatcher
- 所属分类:
- GDI/图象编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 23kb
- 下载次数:
- 0次
- 提 供 者:
- 赵*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
dcWatcher 是一个DC查看工具,用来跟踪DC位图的任何变化,可实时查看窗口DC或者内存DC的显示内容。
此工具最适合自绘界面的单步跟踪,通常情况下单步跟踪是无法查看绘制结果的。
使用方法:
1、把 dcWatcher.exe 和 dctrace.dll 文件复制到需调试的目标EXE的相同文件夹下
2、在项目中导入 dctrace.lib 库文件
3、在合适的CPP/H文件中包括 dctrace.h 头文件
4、在需要调试DC的地方插入语句,例如在WM_PAINT消息响应函数中插入 BeginWatch(hdc) ,hdc可以是窗口DC或内存DC,确保 hdc 是一个合法有效的DC句柄
5、编译项目后运行,DC查看窗口会在合适的时候自动启动,并保持在桌面顶端可见。可单步调试DC绘制语句,每一个绘制操作都会显示在查看窗口中。为了提高操作效率,查看窗口并非完全同步显示,但显示延时不超过1秒。
此工具的不足:
* 一次只能调试一个DC,不能同时调试多个DC
* 如果在代码中多次调用 BeginWatch,则查看器窗口只显示最后设置的DC
* 如果不需要继续跟踪DC,则可调用 EndWatch,参数值被忽略-dcWatcher a DC View tool used to track any changes in the DC bitmap can be viewed in real time the display content of window DC or memory DC.
This tool is most suitable for single-step tracking, self-painted interface tracking is usually the case of single-step can not view the draw results.
How to use:
1 the dcWatcher.exe and dctrace.dll copy files to the same folder as the need to debug the target EXE
Import dctrace.lib library file in the project
Including dctrace.h header files in the CPP/H files
4, insert statement where you need to debug, DC, for example to insert BeginWatch in the WM_PAINT message in the response function (hdc) , hdc is a window DC or memory DC to ensure that the hdc is a legitimate and effective DC handle
5, the project is built to run, DC viewing window at the right time to start automatically and remain in the top of the desktop visible. Single-step through the DC to draw statements, each drawing operation will be displayed in the viewing window. In
此工具最适合自绘界面的单步跟踪,通常情况下单步跟踪是无法查看绘制结果的。
使用方法:
1、把 dcWatcher.exe 和 dctrace.dll 文件复制到需调试的目标EXE的相同文件夹下
2、在项目中导入 dctrace.lib 库文件
3、在合适的CPP/H文件中包括 dctrace.h 头文件
4、在需要调试DC的地方插入语句,例如在WM_PAINT消息响应函数中插入 BeginWatch(hdc) ,hdc可以是窗口DC或内存DC,确保 hdc 是一个合法有效的DC句柄
5、编译项目后运行,DC查看窗口会在合适的时候自动启动,并保持在桌面顶端可见。可单步调试DC绘制语句,每一个绘制操作都会显示在查看窗口中。为了提高操作效率,查看窗口并非完全同步显示,但显示延时不超过1秒。
此工具的不足:
* 一次只能调试一个DC,不能同时调试多个DC
* 如果在代码中多次调用 BeginWatch,则查看器窗口只显示最后设置的DC
* 如果不需要继续跟踪DC,则可调用 EndWatch,参数值被忽略-dcWatcher a DC View tool used to track any changes in the DC bitmap can be viewed in real time the display content of window DC or memory DC.
This tool is most suitable for single-step tracking, self-painted interface tracking is usually the case of single-step can not view the draw results.
How to use:
1 the dcWatcher.exe and dctrace.dll copy files to the same folder as the need to debug the target EXE
Import dctrace.lib library file in the project
Including dctrace.h header files in the CPP/H files
4, insert statement where you need to debug, DC, for example to insert BeginWatch in the WM_PAINT message in the response function (hdc) , hdc is a window DC or memory DC to ensure that the hdc is a legitimate and effective DC handle
5, the project is built to run, DC viewing window at the right time to start automatically and remain in the top of the desktop visible. Single-step through the DC to draw statements, each drawing operation will be displayed in the viewing window. In
(系统自动生成,下载前可以参看下载内容)
下载文件列表
dcWatcher
.........\dctrace
.........\.......\APIHook.cpp
.........\.......\APIHook.h
.........\.......\dcdata.h
.........\.......\dctrace.cpp
.........\.......\dctrace.h
.........\.......\dctrace.vcproj
.........\.......\dllmain.cpp
.........\.......\ReadMe.txt
.........\.......\stdafx.cpp
.........\.......\stdafx.h
.........\.......\targetver.h
.........\dcWatcher
.........\dcWatcher.sln
.........\.........\AboutDlg.cpp
.........\.........\AboutDlg.h
.........\.........\dcWatcher.cpp
.........\.........\dcWatcher.h
.........\.........\dcWatcher.rc
.........\.........\dcWatcher.vcproj
.........\.........\MainFrm.cpp
.........\.........\MainFrm.h
.........\.........\res
.........\.........\resource.h
.........\.........\...\dcWatcher.ico
.........\.........\...\toolbar.bmp
.........\.........\stdafx.cpp
.........\.........\stdafx.h
.........\dctrace
.........\.......\APIHook.cpp
.........\.......\APIHook.h
.........\.......\dcdata.h
.........\.......\dctrace.cpp
.........\.......\dctrace.h
.........\.......\dctrace.vcproj
.........\.......\dllmain.cpp
.........\.......\ReadMe.txt
.........\.......\stdafx.cpp
.........\.......\stdafx.h
.........\.......\targetver.h
.........\dcWatcher
.........\dcWatcher.sln
.........\.........\AboutDlg.cpp
.........\.........\AboutDlg.h
.........\.........\dcWatcher.cpp
.........\.........\dcWatcher.h
.........\.........\dcWatcher.rc
.........\.........\dcWatcher.vcproj
.........\.........\MainFrm.cpp
.........\.........\MainFrm.h
.........\.........\res
.........\.........\resource.h
.........\.........\...\dcWatcher.ico
.........\.........\...\toolbar.bmp
.........\.........\stdafx.cpp
.........\.........\stdafx.h