文件名称:vcDllCapture
介绍说明--下载内容均来自于网络,请自行研究使用
VC/C++源码,图形处理,屏幕抓图
C++ 基于DLL的屏幕抓图,是利用通用的热键管理DLL 实现的热键功能,在收到热键通知后截取屏幕的内容并保存到BMP 文件中。从而实现屏幕抓图功能,运行程序后,界面可参见上图,单击【浏览…】按钮可以改变保存文件的路径,而单击【设置】按钮则可以改变截取屏幕的热键。
实现思路主要是:
在一个DLL(热键管理DLL)中安装一个键盘钩子,用另一个程序(Capture)通过这个DLL 来增加、修改、删除热键。当用户按了抓取屏幕的热键后,热键管理DLL 通知Capture 抓取屏幕,并保存位图。
测试需要注意的是:
需要先编译动态库hook,然后将hook.dll和hook.lib拷贝到capture的debug目录下。-VC/C++ source code, graphics, screen shots C++ DLL-based screen capture, management is the use of a common DLL implementation hotkey hotkey function hotkey after receiving notice of the interception of the contents of the screen and save to BMP file . In order to achieve the screen capture function, run the program, the interface can be found on the map, click [Browse ...] button to change the path to save the file, and click the [Setup] button, you can change the hotkey interception of the screen. Achieve the main idea is: install a DLL (Hotkey Manager DLL) in a keyboard hook with another program (Capture) to increase through this DLL, modify, delete hotkeys. When the user presses a hotkey to capture screen after notification Capture Hotkey Manager DLL grab the screen and save the bitmap. Testing Note: you need to compile the dynamic library hook, then hook.dll and hook.lib copy to capture the debug directory.
C++ 基于DLL的屏幕抓图,是利用通用的热键管理DLL 实现的热键功能,在收到热键通知后截取屏幕的内容并保存到BMP 文件中。从而实现屏幕抓图功能,运行程序后,界面可参见上图,单击【浏览…】按钮可以改变保存文件的路径,而单击【设置】按钮则可以改变截取屏幕的热键。
实现思路主要是:
在一个DLL(热键管理DLL)中安装一个键盘钩子,用另一个程序(Capture)通过这个DLL 来增加、修改、删除热键。当用户按了抓取屏幕的热键后,热键管理DLL 通知Capture 抓取屏幕,并保存位图。
测试需要注意的是:
需要先编译动态库hook,然后将hook.dll和hook.lib拷贝到capture的debug目录下。-VC/C++ source code, graphics, screen shots C++ DLL-based screen capture, management is the use of a common DLL implementation hotkey hotkey function hotkey after receiving notice of the interception of the contents of the screen and save to BMP file . In order to achieve the screen capture function, run the program, the interface can be found on the map, click [Browse ...] button to change the path to save the file, and click the [Setup] button, you can change the hotkey interception of the screen. Achieve the main idea is: install a DLL (Hotkey Manager DLL) in a keyboard hook with another program (Capture) to increase through this DLL, modify, delete hotkeys. When the user presses a hotkey to capture screen after notification Capture Hotkey Manager DLL grab the screen and save the bitmap. Testing Note: you need to compile the dynamic library hook, then hook.dll and hook.lib copy to capture the debug directory.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(没有文件,原文件不完全或已损坏或有密码)