CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 GDI/图象编程

文件名称:dcWatcher

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    22.98kb
  • 已下载:
    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
(系统自动生成,下载前可以参看下载内容)

下载文件列表

dcWatcher/
dcWatcher/dctrace/
dcWatcher/dctrace/APIHook.cpp
dcWatcher/dctrace/APIHook.h
dcWatcher/dctrace/dcdata.h
dcWatcher/dctrace/dctrace.cpp
dcWatcher/dctrace/dctrace.h
dcWatcher/dctrace/dctrace.vcproj
dcWatcher/dctrace/dllmain.cpp
dcWatcher/dctrace/ReadMe.txt
dcWatcher/dctrace/stdafx.cpp
dcWatcher/dctrace/stdafx.h
dcWatcher/dctrace/targetver.h
dcWatcher/dcWatcher/
dcWatcher/dcWatcher.sln
dcWatcher/dcWatcher/AboutDlg.cpp
dcWatcher/dcWatcher/AboutDlg.h
dcWatcher/dcWatcher/dcWatcher.cpp
dcWatcher/dcWatcher/dcWatcher.h
dcWatcher/dcWatcher/dcWatcher.rc
dcWatcher/dcWatcher/dcWatcher.vcproj
dcWatcher/dcWatcher/MainFrm.cpp
dcWatcher/dcWatcher/MainFrm.h
dcWatcher/dcWatcher/res/
dcWatcher/dcWatcher/resource.h
dcWatcher/dcWatcher/res/dcWatcher.ico
dcWatcher/dcWatcher/res/toolbar.bmp
dcWatcher/dcWatcher/stdafx.cpp
dcWatcher/dcWatcher/stdafx.h

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com