资源简介
与其他三个程序包一起的,这个是个dll动态链接库的程序,支持对二维码的实时扫描并显示
代码片段和文件信息
// HOOK_MFC.cpp : Defines the initialization routines for the DLL.
//
#include “stdafx.h“
#include “HOOK_MFC.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
extern “C“ __declspec (dllexport) int __stdcall StopHook();
extern “C“ __declspec (dllexport) int __stdcall StartHook();
extern “C“ __declspec (dllexport) CString Get_strSendHandle();
HINSTANCE glhInstance = NULL;
HANDLE hProcess;
char ch[256];
int i;
//CString strSend;
CString strSend;
#pragma data_seg(“mydata“)
HHOOK hook = NULL;
#pragma data_seg()
LRESULT CALLBACK KeyboardProc(
int nCode
WPARAM wParam
LPARAM lParam
);
//
//TODO: If this DLL is dynamically linked against the MFC DLLs
// any functions exported from this DLL which call into
// MFC must have the AFX_MANAGE_STATE macro added at the
// very beginning of the function.
//
// For example:
//
// extern “C“ BOOL PASCAL EXPORT ExportedFunction()
// {
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
// // normal function body here
// }
//
// It is very important that this macro appear in each
// function prior to any calls into MFC. This means that
// it must appear as the first statement within the
// function even before any object variable declarations
// as their constructors may generate calls into the MFC
// DLL.
//
// Please see MFC Technical Notes 33 and 58 for additional
// details.
//
// CHOOK_MFCApp
BEGIN_MESSAGE_MAP(CHOOK_MFCApp CWinApp)
END_MESSAGE_MAP()
// CHOOK_MFCApp construction
CHOOK_MFCApp::CHOOK_MFCApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CHOOK_MFCApp object
CHOOK_MFCApp theApp;
const GUID CDECL _tlid = { 0x88E0DE88 0xAF32 0x4E8E { 0x95 0x7F 0xC8 0x92 0x16 0x40 0xFA 0x5B } };
const WORD _wVerMajor = 1;
const WORD _wVerMinor = 0;
// CHOOK_MFCApp initialization
BOOL CHOOK_MFCApp::InitInstance()
{
CWinApp::InitInstance();
// Register all OLE server (factories) as running. This enables the
// OLE libraries to create objects from other applications.
COleobjectFactory::RegisterAll();
return TRUE;
}
// DllGetClassobject - Returns class factory
STDAPI DllGetClassobject(REFCLSID rclsid REFIID riid LPVOID* ppv)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
return AfxDllGetClassobject(rclsid riid ppv);
}
// DllCanUnloadNow - Allows COM to unload DLL
STDAPI DllCanUnloadNow(void)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
return AfxDllCanUnloadNow();
}
// DllRegisterServer - Adds entries to the system registry
STDAPI DllRegisterServer(void)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
if (!AfxOleRegisterTypeLib(AfxGetInstanceHandle() _tlid))
return SELFREG_E_TYPELIB;
if (!COleobjectFactory::UpdateRegistryAll())
return SELFREG_E_CLASS;
return S_OK;
}
// DllUnregisterServer - Removes entries from the system r
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7474176 2018-08-14 15:39 HOOK_MFC\Debug\HOOK_MFC.dll
文件 1595 2018-08-14 15:39 HOOK_MFC\Debug\HOOK_MFC.exp
文件 17018116 2018-08-14 15:39 HOOK_MFC\Debug\HOOK_MFC.ilk
文件 2136 2018-08-14 15:39 HOOK_MFC\Debug\HOOK_MFC.lib
文件 25120768 2018-08-14 15:39 HOOK_MFC\Debug\HOOK_MFC.pdb
文件 2447 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.Build.CppClean.log
文件 4126 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.log
文件 89966 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.obj
文件 30015488 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.pch
文件 16404 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.res
文件 1200 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlb
文件 1686 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\cl.command.1.tlog
文件 42980 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\CL.read.1.tlog
文件 1462 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\CL.write.1.tlog
文件 188 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\HOOK_MFC.lastbuildstate
文件 468 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\HOOK_MFC.write.1u.tlog
文件 1704 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\li
文件 6852 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\li
文件 950 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\li
文件 702 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\midl.command.1.tlog
文件 1976 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\midl.read.1.tlog
文件 640 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\midl.write.1.tlog
文件 676 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\rc.command.1.tlog
文件 6198 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\rc.read.1.tlog
文件 326 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\HOOK_MFC.tlog\rc.write.1.tlog
文件 871508 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\stdafx.obj
文件 1453056 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\vc120.idb
文件 4395008 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\Debug\vc120.pdb
文件 5245 2018-08-14 15:39 HOOK_MFC\HOOK_MFC\HOOK_MFC.cpp
文件 287 2018-08-09 13:18 HOOK_MFC\HOOK_MFC\HOOK_MFC.def
............此处省略28个文件信息
- 上一篇:tomcat7,tomcat8,tomcat9
- 下一篇:微信机器人最新无限制版
相关资源
- 金蝶ERP二次开发技术手册
- 海康sdk说明书 二次开发参考
- AutoCAD二次开发在直齿圆柱齿轮参数化
- 用友二次开发资料含
- Revit二次开发源码大全之二
- 光阵通用高拍仪控件
- 精伦IDR210 IDR200 2016年最新4.1通用二次
- 2018revit二次开发论文参考
- lisp源代码 ***工具箱代码 cad二次开发
- 精伦身份证阅读器通用二次开发SDK
- 武汉精伦身份证阅读器的二次开发包
- LED显示屏二次开发接口的设计方案
- AUTOCAD二次开发零件自动拆图自动标注
- 海康相机SDK二次开发与Halcon混合编程
- 海康相机SDK二次开发与Qt混合编程代码
- 1 AutoCAD .NET开发指南2012版》.rar
- catia二次开发论文
- HIKVISION工业相机的SDK二次开发的QT
- OpenDwg开发文档
- QGIS2.8.9二次开发包及其桌面程序
- ArcEgine开发实战资料
- 西门子数控系统二次开发
- openmeetings-5.0.0-M1二次开发参考文档.
- AutoCAD图标大全[二次开发必备]
- 永中Office二次开发API文档2019版.rar
- Arcgis engine二次开发小系统
- EzCad2.7.0_UNICODE(20120326)新狗
- EPICOR 二次开发培训文档
- TC二次开发资料ITK
- ArcEngine二次开发图标
评论
共有 条评论