资源简介

屏幕取词源代码,有 vc 示范代码。屏幕字符截取,划词,可用于开发词典,桌面引擎等 破解版 1. ICall.dll, MouseHook.dll, KeyboardHook.dll and GetWordNT.dll must be in the same folder with the main executable file.

资源截图

代码片段和文件信息

// ICall_Misc.cpp

#include “stdafx.h“
#include “ICall_Misc.h“

HINSTANCE g_hICallInst = NULL;
GETREALWINDOW g_fpGetRealWindow = NULL;
GETWORD g_fpGetWord = NULL;
GETRECTWORD g_fpGetRectWord = NULL;
SETCAPWNDWIDTH g_fpSetCapWndWidth = NULL;
GETWORDENABLECAP g_fpGetWordEnableCap = NULL;
GETWORDISCAPENABLE g_fpGetWordIsCapEnable = NULL;
SETMOUSEHOOK g_fpSetMouseHook = NULL;
REMOVEMOUSEHOOK g_fpRemoveMouseHook = NULL;
MOUSEENABLECAP g_fpMouseEnableCap = NULL;
MOUSESETDELAY g_fpMouseSetDelay = NULL;
GETHIGHLIGHTTEXT g_fpGetHighlightText = NULL;

BOOL LoadICallLib()
{
g_hICallInst = LoadLibrary(_T(“ICall.dll“));
if (!g_hICallInst)
{
return FALSE; 
}

g_fpGetRealWindow = (GETREALWINDOW)GetProcAddress(g_hICallInst “GetRealWindow“);
if (!g_fpGetRealWindow)
{
return FALSE;
}

g_fpGetWord = (GETWORD)GetProcAddress(g_hICallInst “GetWord“);
if (!g_fpGetWord)
{
return FALSE;
}

g_fpGetRectWord = (GETRECTWORD)GetProcAddress(g_hICallInst “GetRectWord“);
if (!g_fpGetRectWord)
{
return FALSE;
}

g_fpSetCapWndWidth = (SETCAPWNDWIDTH)GetProcAddress(g_hICallInst “SetCapWndWidth“);
if (!g_fpSetCapWndWidth)
{
return FALSE;
}

g_fpGetWordEnableCap = (GETWORDENABLECAP)GetProcAddress(g_hICallInst “GetWordEnableCap“);
if (!g_fpGetWordEnableCap)
{
return FALSE;
}

g_fpGetWordIsCapEnable = (GETWORDISCAPENABLE)GetProcAddress(g_hICallInst “GetWordIsCapEnable“);
if (!g_fpGetWordIsCapEnable)
{
return FALSE;
}

g_fpSetMouseHook = (SETMOUSEHOOK)GetProcAddress(g_hICallInst “SetMouseHook“);
if (!g_fpSetMouseHook)
{
return FALSE;
}

g_fpRemoveMouseHook = (REMOVEMOUSEHOOK)GetProcAddress(g_hICallInst “RemoveMouseHook“);
if (!g_fpRemoveMouseHook)
{
return FALSE;
}

g_fpMouseEnableCap = (MOUSEENABLECAP)GetProcAddress(g_hICallInst “MouseEnableCap“);
if (!g_fpMouseEnableCap)
{
return FALSE;
}

g_fpMouseSetDelay = (MOUSESETDELAY)GetProcAddress(g_hICallInst “MouseSetDelay“);
if (!g_fpMouseSetDelay)
{
return FALSE;
}

g_fpGetHighlightText = (GETHIGHLIGHTTEXT)GetProcAddress(g_hICallInst “GetHighlightText“);
if (!g_fpGetHighlightText)
{
return FALSE;
}

return TRUE;
}

BOOL FreeICallLib(void)
{
if (g_hICallInst)
{
FreeLibrary(g_hICallInst);
g_hICallInst = NULL;

return TRUE;
}

return FALSE;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     131072  2008-12-24 00:12  VC6Demo\bin\GetWordNT.dll

     文件     303104  2015-07-27 12:00  VC6Demo\bin\ICall.dll

     文件    5013672  2015-07-27 12:01  VC6Demo\bin\ICall.idb

     文件     303104  2008-12-24 00:12  VC6Demo\bin\ICall0.dll

     文件      69632  2008-12-24 00:11  VC6Demo\bin\KeyboardHook.dll

     文件      73728  2008-12-24 00:11  VC6Demo\bin\MouseHook.dll

     文件     225280  2008-12-24 00:17  VC6Demo\bin\VC6Demo.exe

     文件        196  2006-11-06 14:31  VC6Demo\readme.txt

     文件       2416  2008-07-04 00:15  VC6Demo\VC6Demo\ICall_Misc.cpp

     文件       1337  2008-07-04 00:15  VC6Demo\VC6Demo\ICall_Misc.h

     文件        168  2008-12-24 00:11  VC6Demo\VC6Demo\LicenseID.h

     文件        766  2006-07-09 18:10  VC6Demo\VC6Demo\res\VC6Demo.ico

     文件        399  2006-07-09 18:10  VC6Demo\VC6Demo\res\VC6Demo.rc2

     文件       1374  2008-07-04 00:05  VC6Demo\VC6Demo\resource.h

     文件        207  2006-07-09 18:10  VC6Demo\VC6Demo\StdAfx.cpp

     文件       1054  2006-07-09 18:10  VC6Demo\VC6Demo\StdAfx.h

     文件      38536  2008-07-04 00:17  VC6Demo\VC6Demo\VC6Demo.aps

     文件       2133  2008-07-04 00:17  VC6Demo\VC6Demo\VC6Demo.clw

     文件       1741  2007-08-25 11:02  VC6Demo\VC6Demo\VC6Demo.cpp

     文件        986  2007-08-25 20:54  VC6Demo\VC6Demo\VC6Demo.dep

     文件       6491  2007-08-25 11:02  VC6Demo\VC6Demo\VC6Demo.dsp

     文件        537  2006-07-09 18:10  VC6Demo\VC6Demo\VC6Demo.dsw

     文件       1291  2007-08-25 11:02  VC6Demo\VC6Demo\VC6Demo.h

     文件       7330  2007-08-25 20:54  VC6Demo\VC6Demo\VC6Demo.mak

     文件       7572  2008-07-04 00:17  VC6Demo\VC6Demo\VC6Demo.rc

     文件      12108  2008-07-04 00:16  VC6Demo\VC6Demo\VC6DemoDlg.cpp

     文件       2334  2008-07-04 00:09  VC6Demo\VC6Demo\VC6DemoDlg.h

     文件       1537  2008-12-24 00:36  readme.txt

    ..AD...         0  2015-07-27 12:08  VC6Demo\VC6Demo\res

    ..AD...         0  2015-07-27 12:03  VC6Demo\bin

............此处省略5个文件信息

评论

共有 条评论