Welcome![Sign In][Sign Up]
Location:
Search - MFC DLL HOOK

Search list

[Hook api让你的软件界面更漂亮三

Description: 实现令人满意的风格统一的软件界面确实很难, 象网友提到的MessageBox、FileDialog、FontDialog、目录选择对话框等MFC内部甚至系统DLL内的对话框,要想让它变脸可不容易。有人说HOOK技术可以,HOOK技术确实可以,HOOK可以说是无孔不入,但HOOK的使用效率却是令人难以满意的,从目前大多数采HOOK技术的换肤软件使用情况来看,完全可以证明这一点。今天我们将讨论另外一技术来实现FileDialog的变脸,这种技术叫替换窗口过程法-achieve satisfactory style uniform software interface is really difficult, as mentioned in the MessageBox netizens, FileDialog, FontDialog, directories, etc. MFC dialog within the system DLL even within the dialog, if it's not easy changing face. Some say HOOK technology, the technology can really HOOK, HOOK can say is pervasive, but the efficient use HOOK is hardly satisfied with the majority from the current mining technology Eurocargo HOOK use of the software, can prove this point. Today we will discuss other technologies to achieve a FileDialog changing face of this technique called window replacement process method
Platform: | Size: 590971 | Author: 小小天职 | Hits:

[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 apiHookImport_src

Description: Enclosed is MFC source code for a function which can be used to hook any imported function call which your application makes. Since most of the Win32 API is implemented using import functions in dlls, this means that you hook Win32 API calls. This is useful when for example you want to be called for every call to the file system (::CreateFile() & CloseHandle()) which your app makes. This example of hooking the file system calls your app makes could form the basis of code to ensure you do not have any handle leaks in your application. You could also use this code to spy on COM port activity in remote processes by injecting the DLL into the remote process. -MFC source code for a function w hich can be used to hook any imported function ca ll which makes your application. Since most of t he Win32 API is implemented using import functi ons in dlls. this means that you hook Win32 API calls. This is for example useful when you want to be called for every call to the file system (: : CreateFile ()
Platform: | Size: 6252 | Author: l | 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 apiWinRARZIP

Description: 实现令人满意的风格统一的软件界面确实很难, 象网友提到的MessageBox、FileDialog、FontDialog、目录选择对话框等MFC内部甚至系统DLL内的对话框,要想让它变脸可不容易。有人说HOOK技术可以,HOOK技术确实可以,HOOK可以说是无孔不入,但HOOK的使用效率却是令人难以满意的,从目前大多数采HOOK技术的换肤软件使用情况来看,完全可以证明这一点。今天我们将讨论另外一技术来实现FileDialog的变脸,这种技术叫替换窗口过程法(注:本人杜撰)。   窗口过程函数是大多窗口都有的,它处理窗口中(包括子窗口)的每一个事件,替换窗口过程法与HOOK技术比起来孰强誰弱是很显然的,因为同一个HOOK只能拦截一个事件,处理起来相当费时,HOOK也有它的优势,但不是本文要讨论的。这里先让大家眼见为实,请看下图:-achieve satisfactory style reunification of the software interface is difficult. As netizen's MessageBox, FileDialog, FontDialog. Contents dialog, and other internal MFC DLL system even within the dialog box, in order to allow it faces no easy thing. Some say HOOK technology, the technology can really HOOK, HOOK can be said to be all-pervasive. However, the efficient use HOOK is unsatisfactory. from the most current mining technology HOOK skinnable software situation, we can prove this point. Today, we will discuss other technologies to achieve a FileDialog of independence, This technique called window replacement process (Note : I invented). Process window function is mostly window is the window handle it (including sub-window) per one incident, window replacement process of law and t
Platform: | Size: 760308 | Author: 孙乾坤 | Hits:

[Dialog_Windowmyfiledialogdemo

Description: 实现令人满意的风格统一的软件界面确实很难, 象网友提到的MessageBox、FileDialog、FontDialog、目录选择对话框等MFC内部甚至系统DLL内的对话框,要想让它变脸可不容易。有人说HOOK技术可以,HOOK技术确实可以,HOOK可以说是无孔不入,但HOOK的使用效率却是令人难以满意的,从目前大多数采HOOK技术的换肤软件使用情况来看,完全可以证明这一点。今天我们将讨论另外一技术来实现FileDialog的变脸,这种技术叫替换窗口过程法-achieve satisfactory style reunification of the software interface is difficult. As netizen's MessageBox, FileDialog, FontDialog. Contents dialog, and other internal MFC DLL system even within the dialog box, in order to allow it faces no easy thing. Some say HOOK technology, the technology can really HOOK, HOOK can be said to be all-pervasive. However, the efficient use HOOK is unsatisfactory. from the most current mining technology HOOK skinnable software situation, we can prove this point. Today, we will discuss other technologies to achieve a FileDialog changing face of this technique is called window replacement process France
Platform: | Size: 610942 | Author: hk | Hits:

[Hook apiPureDll

Description: 这是一个利用纯W32 DLL文件进行HOOK编程的源代码,不含MFC架构 1、用VC向导生成Win32 Dll 2、手动加入def文件,其中内容与MFC 规则DLL中相同 3、DllMain中的第一个参数是HANDLE类型的,强制转换成HINSTANCE型的 4、令SetWindowsHook中的参数App->hInstance变为DllMain中初始化的Instance 5、确保程序中不出现MFC的东西
Platform: | Size: 14552 | Author: neusoftrhl | Hits:

[Hook api让你的软件界面更漂亮三

Description: 实现令人满意的风格统一的软件界面确实很难, 象网友提到的MessageBox、FileDialog、FontDialog、目录选择对话框等MFC内部甚至系统DLL内的对话框,要想让它变脸可不容易。有人说HOOK技术可以,HOOK技术确实可以,HOOK可以说是无孔不入,但HOOK的使用效率却是令人难以满意的,从目前大多数采HOOK技术的换肤软件使用情况来看,完全可以证明这一点。今天我们将讨论另外一技术来实现FileDialog的变脸,这种技术叫替换窗口过程法-achieve satisfactory style uniform software interface is really difficult, as mentioned in the MessageBox netizens, FileDialog, FontDialog, directories, etc. MFC dialog within the system DLL even within the dialog, if it's not easy changing face. Some say HOOK technology, the technology can really HOOK, HOOK can say is pervasive, but the efficient use HOOK is hardly satisfied with the majority from the current mining technology Eurocargo HOOK use of the software, can prove this point. Today we will discuss other technologies to achieve a FileDialog changing face of this technique called window replacement process method
Platform: | Size: 610304 | Author: 小小天职 | Hits:

[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: 101376 | Author: 阳广元 | Hits:

[Hook apiHookImport_src

Description: Enclosed is MFC source code for a function which can be used to hook any imported function call which your application makes. Since most of the Win32 API is implemented using import functions in dlls, this means that you hook Win32 API calls. This is useful when for example you want to be called for every call to the file system (::CreateFile() & CloseHandle()) which your app makes. This example of hooking the file system calls your app makes could form the basis of code to ensure you do not have any handle leaks in your application. You could also use this code to spy on COM port activity in remote processes by injecting the DLL into the remote process. -MFC source code for a function w hich can be used to hook any imported function ca ll which makes your application. Since most of t he Win32 API is implemented using import functi ons in dlls. this means that you hook Win32 API calls. This is for example useful when you want to be called for every call to the file system (: : CreateFile ()
Platform: | Size: 6144 | Author: l | Hits:

[Hook apiWinRARZIP

Description: 实现令人满意的风格统一的软件界面确实很难, 象网友提到的MessageBox、FileDialog、FontDialog、目录选择对话框等MFC内部甚至系统DLL内的对话框,要想让它变脸可不容易。有人说HOOK技术可以,HOOK技术确实可以,HOOK可以说是无孔不入,但HOOK的使用效率却是令人难以满意的,从目前大多数采HOOK技术的换肤软件使用情况来看,完全可以证明这一点。今天我们将讨论另外一技术来实现FileDialog的变脸,这种技术叫替换窗口过程法(注:本人杜撰)。   窗口过程函数是大多窗口都有的,它处理窗口中(包括子窗口)的每一个事件,替换窗口过程法与HOOK技术比起来孰强誰弱是很显然的,因为同一个HOOK只能拦截一个事件,处理起来相当费时,HOOK也有它的优势,但不是本文要讨论的。这里先让大家眼见为实,请看下图:-achieve satisfactory style reunification of the software interface is difficult. As netizen's MessageBox, FileDialog, FontDialog. Contents dialog, and other internal MFC DLL system even within the dialog box, in order to allow it faces no easy thing. Some say HOOK technology, the technology can really HOOK, HOOK can be said to be all-pervasive. However, the efficient use HOOK is unsatisfactory. from the most current mining technology HOOK skinnable software situation, we can prove this point. Today, we will discuss other technologies to achieve a FileDialog of independence, This technique called window replacement process (Note : I invented). Process window function is mostly window is the window handle it (including sub-window) per one incident, window replacement process of law and t
Platform: | Size: 759808 | Author: 孙乾坤 | Hits:

[Dialog_Windowmyfiledialogdemo

Description: 实现令人满意的风格统一的软件界面确实很难, 象网友提到的MessageBox、FileDialog、FontDialog、目录选择对话框等MFC内部甚至系统DLL内的对话框,要想让它变脸可不容易。有人说HOOK技术可以,HOOK技术确实可以,HOOK可以说是无孔不入,但HOOK的使用效率却是令人难以满意的,从目前大多数采HOOK技术的换肤软件使用情况来看,完全可以证明这一点。今天我们将讨论另外一技术来实现FileDialog的变脸,这种技术叫替换窗口过程法-achieve satisfactory style reunification of the software interface is difficult. As netizen's MessageBox, FileDialog, FontDialog. Contents dialog, and other internal MFC DLL system even within the dialog box, in order to allow it faces no easy thing. Some say HOOK technology, the technology can really HOOK, HOOK can be said to be all-pervasive. However, the efficient use HOOK is unsatisfactory. from the most current mining technology HOOK skinnable software situation, we can prove this point. Today, we will discuss other technologies to achieve a FileDialog changing face of this technique is called window replacement process France
Platform: | Size: 610304 | Author: | Hits:

[Hook apimousehook

Description: 实现适时获取当前鼠标所在窗口的标题,并将其显示在一个EDITBOX中. Windows系统是建立在事件驱动的机制上的,说穿了就是整个系统都是通 过消息的传递来实现的。而钩子是Windows系统中非常重要的系统接口, 用它可以截获并处理送给其他应用程序的消息,来完成普通应用程序难以 实现的功能。钩子的种类很多,每种钩子可以截获并处理相应的消息,如 键盘钩子可以截获键盘消息,外壳钩子可以截取、启动和关闭应用程序的消 息等。本文在VC6编程环境下实现了一个简单的鼠标钩子程序,并对Win32 全局钩子的运行机制、Win32 DLL的特点、VC6环境下的MFC DLL以及共享数 据等相关知识进行了简单的阐述。
Platform: | Size: 21504 | Author: 杨秉岐 | Hits:

[Hook apiPureDll

Description: 这是一个利用纯W32 DLL文件进行HOOK编程的源代码,不含MFC架构 1、用VC向导生成Win32 Dll 2、手动加入def文件,其中内容与MFC 规则DLL中相同 3、DllMain中的第一个参数是HANDLE类型的,强制转换成HINSTANCE型的 4、令SetWindowsHook中的参数App->hInstance变为DllMain中初始化的Instance 5、确保程序中不出现MFC的东西-This is a use of pure W32 DLL files HOOK programming source code, MFC framework does not contain one, using VC Wizard generates Win32 Dll2, manually add def files, the content of the rules of DLL with MFC in the same 3, DllMain first parameter is the HANDLE type, forced into HINSTANCE type 4, so SetWindowsHook parameters App-
Platform: | Size: 14336 | Author: neusoftrhl | Hits:

[Hook apiHOOK

Description: 了解MFC DLL动态连接库的编程方法; 2.了解HOOK技术和回调函数的运行机制; 3.学习MFC中加载动态连接库的方法 -DLL&HOOK1
Platform: | Size: 3072 | Author: 林茜 | Hits:

[Hook apiHookMouse

Description: 一个简单的鼠标钩子程序 Windows系统是建立在事件驱动的机制上的,说穿了就是整个系统都是通过消息的传递来实现的。而钩子是Windows系统中非常重要的系统接口,用它可以截获并处理送给其他应用程序的消息,来完成普通应用程序难以实现的功能。钩子的种类很多,每种钩子可以截获并处理相应的消息,如键盘钩子可以截获键盘消息,外壳钩子可以截取、启动和关闭应用程序的消息等。本文在VC6编程环境下实现了一个简单的鼠标钩子程序,并对Win32全局钩子的运行机制、Win32 DLL的特点、VC6环境下的MFC DLL以及共享数据等相关知识进行了简单的阐述。-A simple mouse hook procedure Windows system is based on event-driven mechanism, and put it bluntly, is that the whole system through message passing to achieve. The hook is a very important Windows system, the system interface, you can use to intercept and handle messages sent to other applications to complete the application difficult to achieve normal function. Many different types of hooks, each hook can intercept and process the corresponding message, such as a keyboard hook to intercept keyboard messages, shell hooks can be intercepted, start and close applications news. In this paper, VC6 programming environment to achieve a simple mouse hook procedure, and the global hook Win32 operating mechanism, Win32 DLL characteristics, VC6 environment MFC DLL, as well as sharing of data and other related knowledge of the brief explanation.
Platform: | Size: 47104 | Author: 冰雨 | Hits:

[Process-ThreadRemote_into_the_sourcecode

Description: 为了屏蔽Ctrl+Alt+Delete这个功能,花了不少时间,也学了不少东西,也经历了本本被偷的悲剧,哎~代码都是从DSK V1 Final中抠出来的,而且我把远线程注入写成了一个Class。DLL用的是MFC的Dynamic-Dll 其实,如果你选择WH_KEYBOARD HOOK,那么提到SE_DEBUG之后,OS会帮你把DLL注入到Winlogon,免去了自己使用远线程的麻烦。但是小花说,用全局钩子注入不是好孩子,所以…… DSK V1 Final Update: *增加主程序重复运行情况处理 *增加屏蔽Ctrl+Alt+Delete *修正Ctrl+Shift的一个BUG *增加屏蔽Ctrl+Shift+Esc 修正了,DLL改用Windows-Standard-Dll,应该可以普遍适用了。不过有可能在Vista下还需要使用管理员运行。不过话说MFC的Dynamic DLL只有10K多,StdDll居然有40KB多…… -In order to shield Ctrl+ Alt+ Delete this function, spent a lot of time, but also learned a lot, also experienced the tragedy of the stolen books, hey ~ code is from DSK V1 Final in the pull out, and I put away thread is written into a Class. Using a MFC-DLL Dynamic-Dll In fact, if you choose WH_KEYBOARD HOOK, then after that SE_DEBUG, OS will help you to DLL injected into the Winlogon, eliminates the trouble of their own thread using the remote. But the flowers that the injection is not a good boy with a global hook, so ... ... DSK V1 Final Update: * Repeat the operation to increase the main program processing * Increase the shielding Ctrl+ Alt+ Delete * Fixed a BUG Ctrl+ Shift * Increase the shielding Ctrl+ Shift+ Esc Fixed, DLL use Windows-Standard-Dll, should be universally applied. However, there may also need to use an administrator under Vista to run. But having said that the Dynamic DLL MFC only 10K more, StdDll actually have more than 40KB ... ...
Platform: | Size: 20480 | Author: zhaoyadong | Hits:

[Windows DevelopDetailed-notes-C-P-P-in-depth

Description: C++深入详解笔记 Lesson1: Windows程序运行原理及程序编写流程 Lesson2: 掌握C++基本语法 Lesson3: MFC框架程序剖析 Lesson4: 简单绘图 Lesson5: 文本编程 Lesson6: 菜单编程 Lesson7: 对话框编程 Lesson9: 定制应用程序的外观 Lesson10: 绘图控制 Lesson11 图形的保存和重绘 Lesson12 文件操作 Lesson 13: 文档串行化 Lesson14 网络编程 Lesson 15 多线程 Lesson 16 线程同步与异步套接字 Lesson17进程间通信 Lesson18 Active控件 Lesson19 动态链接库DLL Lesson20 Hook与数据编程-C++ in-depth Detailed notes Lesson1: Windows program runs principles and procedures for the preparation process Lesson2: master the C++ basic syntax Lesson3: MFC framework of the program analysis Lesson4: simple drawing Lesson5: Text Programming Lesson6: Menu programming Lesson7: dialog programming Lesson9: custom applications Appearance Lesson10: Lesson11 graphics drawing control and redraw the preservation of file operations Lesson12 Lesson 13: Network Programming Document serialization Lesson14 Lesson 16 Lesson 15 threads simultaneous multi-threading and asynchronous inter-process communication socket Lesson17 Lesson19 Lesson18 Active control, dynamic-link library DLL Lesson20 Hook and Data Programming
Platform: | Size: 492544 | Author: | Hits:

[Hook apiMFCHOOKDLLTest

Description: mfc HOOK DLL的例程,交给你如何做动态库的钩子-mfc HOOK DLL routine, how do you do to hook the dynamic library
Platform: | Size: 133120 | Author: dj | Hits:

[Hook apiMFC

Description: MFC全局键盘钩子带dll程序 MFC全局键盘钩子带dll程序-MFC Global keyboard hook program with dll
Platform: | Size: 62464 | Author: YeXin | Hits:
« 12 »

CodeBus www.codebus.net