IEHelper1245

所属分类:钩子与API截获
开发工具:C/C++
文件大小:200KB
下载次数:37
上传日期:2008-08-22 14:45:54
上 传 者迎风抱月
说明:  利用钩子实现对IE上网记录的跟踪,代码完全,编译后对生成的插件注册到系统后就可以使用
(Realize the use of hooks on the IE上网record tracking, code complete, the compiler generated after the register to the system after plug-ins can use the)

文件列表:
IEHelper1\dlldata.c (837, 2007-05-14)
IEHelper1\IEHelper.aps (4016, 2007-05-02)
IEHelper1\IEHelper.clw (417, 1997-12-31)
IEHelper1\IEHelper.cpp (2289, 2007-04-22)
IEHelper1\IEHelper.def (224, 1997-10-22)
IEHelper1\IEHelper.dsp (15916, 2003-03-20)
IEHelper1\IEHelper.dsw (539, 2003-01-15)
IEHelper1\IEHelper.h (5519, 2007-05-14)
IEHelper1\IEHelper.idl (751, 1997-10-22)
IEHelper1\IEHelper.ncb (68608, 2007-05-14)
IEHelper1\IEHelper.opt (49664, 2003-03-27)
IEHelper1\IEHelper.plg (1256, 2003-03-27)
IEHelper1\IEHelper.rc (3677, 1997-10-30)
IEHelper1\IEHelper.sln (1985, 2007-04-25)
IEHelper1\IEHelper.suo (14336, 2007-05-14)
IEHelper1\IEHelper.tlb (1684, 2007-05-14)
IEHelper1\IEHelper.vcproj (22305, 2007-05-14)
IEHelper1\IEHelperps.def (250, 1997-10-22)
IEHelper1\IEHelper_i.c (4078, 2007-05-14)
IEHelper1\IEHelper_p.c (12741, 2007-05-14)
IEHelper1\IEHlprObj.cpp (8938, 2007-05-02)
IEHelper1\IEHlprObj.h (1635, 2007-05-02)
IEHelper1\IEHlprObj.rgs (774, 1997-10-24)
IEHelper1\resource.h (591, 1997-10-30)
IEHelper1\StdAfx.cpp (338, 1997-10-30)
IEHelper1\StdAfx.h (942, 2003-03-17)
IEHelper1 (0, 2007-05-14)
IEHelper1\IEHelper.dll (262144, 2007-05-14)
IEHelper1\IEHelper.doc (54784, 2007-05-14)
IEHelper1\VC知识库文章 - 如何使用BHO定制你的Internet Explorer浏览器.pdf (94181, 2007-05-14)

IEHelper - How to implement a Browser Helper Object --------------------------------------------------- 1. Introduction In order to attach to a running instance of Internet Explorer 4.0 (IE4), An application called a "Browser Helper Object" can be used. This application is a DLL that will attach itself to every instance of IE that is executed on the system. IEHelper demonstrates how to create a Browser Helper Object. When an instance of IE is started, it looks in the registry for CLSIDs stored under the following key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects If this key exists and there are CLSIDs listed under this key, IE will use CoCreateInstance() to try to create an instance of each object listed as a subkey under this key. Note that the CLSID of the object you create must be listed as a subkey and not a named value. 2. Restrictions of Browser Helper Objects 1) The application that you create must be an in-proc server (i.e., DLL) 2) This DLL must implement IObjectWithSite. 3) The IObjectWithSite::SetSite() method must be implemented. It is through this method that your application receives a pointer to IE's IUnknown. (IE actually passes a pointer to IWebBrowser2 but the implementation of SetSite() receives a pointer to IUnknown.) You can use this IUnknown pointer to automate IE or to sink events from IE. 3. Using IEHelper To compile and run IEHelper, follow these steps: 1) Compile IEHelper using Visual C++ 5.0 or above. Compiling IEHelper will register the DLL in the registry. The registry script contained in IEHlprObj.rgs will create the necessary registry entries to register IEHelper as an IE4 Browser Helper Object. 2) Each time a new instance of IE4 is started, IEHelper will be loaded. IE will create an instance of each Browser Helper Object listed in the registry every time a new instance of IE is executed. This means that if you have Active Desktop installed, the Browser Helper Objects will be loaded every time you open a folder or change to a new folder as well as when the browser itself is started. 3) View IE4 events in IEHelper's events window. 4) To unregister IEHelper so that it is no longer registered as a Browser Helper Object, run regsvr32 with the following options from the command line: regsvr32 /u IEHelper.dll

近期下载者

相关文件


收藏者