Welcome![Sign In][Sign Up]
Location:
Search - SetWindowsHookEx

Search list

[Hook apicatwork0601

Description: 1、我想调用 SetWindowsHookEx 来设置 WH_CBT 钩子,但我了解到 MFC 也安装了这个钩子,也就是在一个线程中安装了两次 WH_CBT,这样做能行吗? 2、我正在将一个现有的 C++ 类库转换为托管扩展,以便能在 .NET 框架客户端使用它们。我的代码调用了 API 函数,这些函数需要当前运行模块的 HINSTANCE。我不想使用我的 DLL 的 HINSTANCE;我想让调用者提供 EXE 的 HINSTANCE,该 EXE 调用我的 DLL。我能将 HINSTANCE 声明为一个 IntPtr,但我的基于 .NET 的客户端如何让应用程序的 HINSTANCE 传递给我的函数?在 C# 中是如何做的? 3、我要如何将 MFC CString 转换为托管 C++ 中的 String?我有一个函数是这样的: int ErrMsg::ErrorMessage(CString& msg) const { msg.LoadString(m_nErrId) msg += _T(\"::Error\") return -1 }   我如何用托管 C++ 重写这个函数,并用 String 替换参数中的 CString?我不知道如何声明参数,如何处理 const,以及如何从资源文件中加载托管 String。我看了文档说 String 是不能被修改的,因为它们是不可变的,但我有想修改传递的字符串。 -one, I would like to call to set up WH_CBT SetWindowsHookEx hook, but I also understand that MFC installation of the hook, which is in a thread installed two WH_CBT. do exercise? Two, I was one of the existing C libraries into custody expansion, in order to be able.NET framework of the client to use them. I called the code API function, these functions need to run the current module HINSTANCE. I do not want to use my HINSTANCE DLL; I want to call to provide the HINSTANCE EXE, I called the EXE DLL. I can HINSTANCE statement for a IntPtr. but I based.NET client applications how the HINSTANCE passed to the function? In C# and how is it done? Three, I want to redeem MFC how to care for the conversion of C String? I have a function like this : int ErrMsg : : ErrorMessage (redeem
Platform: | Size: 101679 | Author: 阳广元 | Hits:

[Hook apiTrackUserIdle_src

Description: The approach used here is really a simple one. We intercept the mouse and keyboard activities of the user by hooking into the OS s mouse and keyboard events using the API SetWindowsHookEx(). It is important to note that the hooks we are installing are system-wide. i.e. we receive notification even when our application does not have the focus. This is necessary since we are interested in system-wide user activities, not just in our own application. In these notifications (both keyboard and mouse), we update a common variable that stores the time when the event occurred. Therefore, to get the duration since the last user input, we simply compare the current time against this value.-The approach used here is really a simple on e. We intercept the mouse and keyboard activiti es of the user by hooking into the OS s mouse and ke yboard events using the API SetWindowsHookEx ( ). It is important to note that the hooks we are in stalling are system-wide. ie we receive noti that training even when our application does not hepatitis A. e the focus. This is necessary since we are inter ested in system-wide user activities, not just in our own application. In these notifi cations (both keyboard and mouse), we update a common variable that stores the time when the event occurred. Therefore, to get the duration since the last user input. we simply compare the current time against this value.
Platform: | Size: 5134 | Author: l | Hits:

[Windows Developautorunshutdown

Description: 一、可以自动运行选中的程序和自动关机,设定时间按秒为单位。运用到WIN2K关机需要权限获取,和一些简单的文件查找代码! 升级版增加了自动运行个数 可以最多运行10个任务,可以删除任务,开机自动运行,全局快捷键。 运用到SETTIMER HOOK REG等相关知识。比如 SetWindowsHookEx RegOpenKey RegQueryValueEx GetWindowLong 等函数。 二、关键代码请参考源代码 本人抱着学习的态度,想和大家多交流! -one, it is automatically selected operating procedures and automatic shutdown, set for the second time as a unit. Use of WIN2K shutdown authority needs access, and some simple document search code! Upgrades to increase the number of automatic operation can run up to 10 tasks, the tasks can be deleted or off automatically, overall shortcuts. Use of SETTIMER HOOK REG other relevant knowledge. For example SetWindowsHookEx RegOpenKey RegQueryValu eEx GetWindowLong functions. Two key code please refer to the source code, I take the attitude of learning, and we want to exchange more!
Platform: | Size: 18688 | Author: toke | Hits:

[Windows Developdebugsrc

Description: 1、我想调用 SetWindowsHookEx 来设置 WH_CBT 钩子,但我了解到 MFC 也安装了这个钩子,也就是在一个线程中安装了两次 WH_CBT,这样做能行吗? 2、我正在将一个现有的 C++ 类库转换为托管扩展,以便能在 .NET 框架客户端使用它们。我的代码调用了 API 函数,这些函数需要当前运行模块的 HINSTANCE。我不想使用我的 DLL 的 HINSTANCE;我想让调用者提供 EXE 的 HINSTANCE,该 EXE 调用我的 DLL。我能将 HINSTANCE 声明为一个 IntPtr,但我的基于 .NET 的客户端如何让应用程序的 HINSTANCE 传递给我的函数?在 C# 中是如何做的? 3、我要如何将 MFC CString 转换为托管 C++ 中的 String?我有一个函数是这样的: int ErrMsg::ErrorMessage(CString& msg) const { msg.LoadString(m_nErrId) msg += _T(\"::Error\") return -1 }   我如何用托管 C++ 重写这个函数,并用 String 替换参数中的 CString?我不知道如何声明参数,如何处理 const,以及如何从资源文件中加载托管 String。我看了文档说 String 是不能被修改的,因为它们是不可变的,但我有想修改传递的字符串。-one, I would like to call to set up WH_CBT SetWindowsHookEx hook, but I also understand that MFC installation of the hook, which is in a thread installed two WH_CBT. do exercise? Two, I was one of the existing C libraries into custody expansion, in order to be able.NET framework of the client to use them. I called the code API function, these functions need to run the current module HINSTANCE. I do not want to use my HINSTANCE DLL; I want to call to provide the HINSTANCE EXE, I called the EXE DLL. I can HINSTANCE statement for a IntPtr. but I based.NET client applications how the HINSTANCE passed to the function? In C# and how is it done? Three, I want to redeem MFC how to care for the conversion of C String? I have a function like this : int ErrMsg : : ErrorMessage (redeem
Platform: | Size: 561890 | Author: toke | Hits:

[Hook apiJournaling_Keyboard_and_Mouse_Input_src

Description: This an example for installing an application-defined hook procedures using Win32 SetWindowsHookEx() function. This project implements only WH_JOURNALRECORD and WH_JOURNALPLAYBACK hooks. I was looking for more information and sample programs, but the only sample I d found was Hooks32, an old Win32 project. -This an example for installing an application-defined hook procedures using Win32 SetWindowsHookEx () function. This project implements only WH_JOURNALRECORD and WH_JOURNALPLAYBACK hooks. I was looking for more information and sample programs, but the only sample found I d was Hooks32, an old Win32 project.
Platform: | Size: 18296 | Author: guard2002 | Hits:

[Hook apiTrackUserIdle_src

Description: The approach used here is really a simple one. We intercept the mouse and keyboard activities of the user by hooking into the OS s mouse and keyboard events using the API SetWindowsHookEx(). It is important to note that the hooks we are installing are system-wide. i.e. we receive notification even when our application does not have the focus. This is necessary since we are interested in system-wide user activities, not just in our own application. In these notifications (both keyboard and mouse), we update a common variable that stores the time when the event occurred. Therefore, to get the duration since the last user input, we simply compare the current time against this value.-The approach used here is really a simple on e. We intercept the mouse and keyboard activiti es of the user by hooking into the OS s mouse and ke yboard events using the API SetWindowsHookEx ( ). It is important to note that the hooks we are in stalling are system-wide. ie we receive noti that training even when our application does not hepatitis A. e the focus. This is necessary since we are inter ested in system-wide user activities, not just in our own application. In these notifi cations (both keyboard and mouse), we update a common variable that stores the time when the event occurred. Therefore, to get the duration since the last user input. we simply compare the current time against this value.
Platform: | Size: 7168 | Author: l | Hits:

[Windows Developautorunshutdown

Description: 一、可以自动运行选中的程序和自动关机,设定时间按秒为单位。运用到WIN2K关机需要权限获取,和一些简单的文件查找代码! 升级版增加了自动运行个数 可以最多运行10个任务,可以删除任务,开机自动运行,全局快捷键。 运用到SETTIMER HOOK REG等相关知识。比如 SetWindowsHookEx RegOpenKey RegQueryValueEx GetWindowLong 等函数。 二、关键代码请参考源代码 本人抱着学习的态度,想和大家多交流! -one, it is automatically selected operating procedures and automatic shutdown, set for the second time as a unit. Use of WIN2K shutdown authority needs access, and some simple document search code! Upgrades to increase the number of automatic operation can run up to 10 tasks, the tasks can be deleted or off automatically, overall shortcuts. Use of SETTIMER HOOK REG other relevant knowledge. For example SetWindowsHookEx RegOpenKey RegQueryValu eEx GetWindowLong functions. Two key code please refer to the source code, I take the attitude of learning, and we want to exchange more!
Platform: | Size: 18432 | Author: toke | Hits:

[Hook apiJournaling_Keyboard_and_Mouse_Input_src

Description: This an example for installing an application-defined hook procedures using Win32 SetWindowsHookEx() function. This project implements only WH_JOURNALRECORD and WH_JOURNALPLAYBACK hooks. I was looking for more information and sample programs, but the only sample I d found was Hooks32, an old Win32 project. -This an example for installing an application-defined hook procedures using Win32 SetWindowsHookEx () function. This project implements only WH_JOURNALRECORD and WH_JOURNALPLAYBACK hooks. I was looking for more information and sample programs, but the only sample found I d was Hooks32, an old Win32 project.
Platform: | Size: 18432 | Author: | Hits:

[Hook apivbkeyHook

Description: 这是一个使用SetWindowsHookEx的程序,屏蔽了键盘按键(包括系统按键)。 如果只想屏蔽某个按键,请更改下面的代码。-SetWindowsHookEx use of the procedure, shielding the keyboard keys (including the system keys). If you only wish to shield a button, please change the code below.
Platform: | Size: 49152 | Author: 张龙 | Hits:

[Button controlVB111

Description: 这是一个使用SetWindowsHookEx的程序,屏蔽了键盘按键(包括系统按键)。 如果只想屏蔽某个按键,请更改下面的代码。 Form1.Text1 = wParam Form1.Label1 = kk.vkCode & ":" & kk.scanCode & ":" & kk.Time If wParam = 256 Then Myfunc = 1: Exit Function endif wParam 的按键值可以在程序运行中测试中找到。-SetWindowsHookEx use of the procedure, shielding the keyboard keys (including the system keys). If you only wish to shield a button, please change the code below. Form1.Text1 wParam = = kk.vkCode Form1.Label1
Platform: | Size: 49152 | Author: 刘郑 | Hits:

[Hook apiMouseKeyHook

Description: 消息钩子源码(SetWindowsHookEx)-拦截鼠标和键盘消息的示例程序-News source hook (SetWindowsHookEx)- intercept the mouse and keyboard messages sample procedures
Platform: | Size: 47104 | Author: open | Hits:

[Hook apigetpubips

Description: 本程序可以自动获取公网IP然后上传到指定网络地址空间上,而且支持和本机IP变动同步更新IP数据上传到地址空间,开机自动运行,全局快捷键。 本程序是适应中国动态IP而制作,假如有人想在自己机器上架设服务器,但IP是动态的 也就是IP会经常变动,但本程序可以实现IP动态绑定,从而给用户感觉是静态IP的感觉。 本程序在运行中会自己生成一个网页(包含本机IP),上传到指定的网络地址空间,当用户在网络上浏览该网页 该网页会自动转向到本机IP,这一切的一切都是程序自动完成。用户只需要进行简单的网络地址空间设定。 还有一点就是 必须有自己的网络地址空间。:) 本程序运用到 SETTIMER HOOK REG 等相关知识。比如 SetWindowsHookEx RegOpenKey RegQueryValueEx Process32First SHGetFileInfo CreateProcess 等函数。 -err
Platform: | Size: 18432 | Author: david | Hits:

[Hook apihook

Description: 挂钩(HOOK)的基本原理 WINDOWS调用挂接的回调函数时首先会调用位于函数链首的函数,我们只要将自己的回调函数置于链首,该回调函数就会首先被调用。那么如何将我们自己的回调函数置于函数链的链首呢?函数SetWindowsHookEx()实现的就是该功能。-Linked to (HOOK) The basic principle articulated WINDOWS call the callback function when the function will first call at a function of the first chain, we need only its own callback function will be placed in the first chain, the callback function will be the first to be called. How to put our own callback function at the first chain function chain it? Function SetWindowsHookEx () is the realization of the feature.
Platform: | Size: 37888 | Author: 冰雨 | Hits:

[OS programkeybhook_app

Description: 应用程序动态挂钩,本代码包含一个简单的键盘钩子的做法,简单明料,很快就帮你手把手的做一个键盘钩子文件。主要函数setwindowshookex,callnexthookex-Dynamically linked applications, the code contains a simple keyboard hook approach, simple-ming Liu, quickly help you to do hands-on document of a keyboard hook. The main function setwindowshookex, callnexthookex
Platform: | Size: 612352 | Author: lu | Hits:

[Windows CEWinCEKBHook_src

Description: 如何在wince下使用键盘hook,因为wince不支持SetWindowsHookEx函数-How to wince under the keyboard hook, because wince does not support SetWindowsHookEx function
Platform: | Size: 2048 | Author: 张炜 | Hits:

[Windows DevelopShellHook

Description: 利用SetWindowsHookEx方法,建立SHELL钩子,对所有打开关闭的进程进行记录。-Using SetWindowsHookEx for ways to build SHELL hook, closed to all open records process.
Platform: | Size: 944128 | Author: 张名书 | Hits:

[Hook apiPasswordSpy

Description: PasswordSpy 程序最有趣的部分其实是使用 SetWindowsHookEx API.函数设置Windows 钩子。利用该函数你可以将钩子安装到操作系统中或者某个特定的进程中。钩子的种类有很多种,每种钩子作用也不尽相同,用来监视特定的一组事件。当某一类事件发生时,钩子代码被调用。PasswordSpy使用WH_GETMESSAGE钩子,它监视对GetMessage 和PeekMessage 的调用.-PasswordSpy is a program that will allow you to "see" the password that is behind the "****" edit boxes. This program is not a "password cracker." Instead PasswordSpy takes advantage of several advanced techniques in Windows that allow one program to copy the password from another. This program is not intended for mischievous purposes. PasswordSpy can copy the password from most Windows programs. Some exceptions are the Windows logon screen, Windows NT services, and most non-standard Windows applications (like Java apps).
Platform: | Size: 39936 | Author: yuan | Hits:

[Hook apiGlobalHook

Description: Visual Basic 全局钩子 SetWindowsHookEx()-SetWindowsHookEx()
Platform: | Size: 2048 | Author: 小强 | Hits:

[Windows MobileKeyBoarddHook

Description: WinCE键盘钩子——主要使用以下三个函数SetWindowsHookEx:创建钩子 CallNextHookEx:将消息传给钩子链中的下一个钩子 UnhookWindowsHookEx:释放钩子-WinCE keyboard hook- the main use of the following three functions SetWindowsHookEx: Create hooks CallNextHookEx: the message to the next hook in the chain hook UnhookWindowsHookEx: release hook
Platform: | Size: 124928 | Author: skyge | Hits:

[Hook apiSetWindowsHookEx

Description: 系统钩子(键盘钩子,鼠标钩子等等)已是我们最长用的手段,要做钩子程序就必须用到下面这几个函数使用动态链接库(dll),即要实现全局系统钩子。这里就这几个函数的参数做一下详细的讲解-Hook (hook the keyboard, mouse, hook, etc.) is the longest we have the means used, the hook procedure must be used to do these functions use the following dynamic link library (dll), that is, to achieve the global system hooks. Here the parameters of these functions in detail what to do
Platform: | Size: 1024 | Author: 刘斌 | Hits:
« 12 3 »

CodeBus www.codebus.net