文件名称:CustomWebProtocol
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3.42mb
- 下载次数:
- 0次
- 提 供 者:
- wan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
仿Skype通过URL触发自己的程序
IURLSearchHook接口被浏览器用来转换一个未知的URL协议地址。当浏览器企图去打开一个未知协议的URL地址时,浏览器首先尝试从这个地址得到当前的协议,如果不成功,浏览器将创建在系统中注册的URL Search Hook对象并调用每一个对象的Translate方法,直到地址被转换或所有的URL Search Hook都尝试过。
也就是说,我们可以注册一种目前不存在的协议(类似HTTP),当浏览器遇到新的协议时会自动调用Translate方法来翻译我们的协议,甚至激活我们自己的程序。
-Like Skype through URL to trigger its own procedures IURLSearchHook browser interface is used to convert an unknown URL Protocol addresses. When a browser attempts to open a URL address unknown agreement, the browser first of all try to get this address from the current agreement, if unsuccessful, the browser will create in the system registered URL Search Hook objects and call each object Translate method, until the addresses are converted or all of the URL Search Hook have tried. In other words, we can sign an agreement currently does not exist (similar to HTTP), when the browser encountered new agreement will automatically call Translate ways to translate our agreement, and even the activation of our own procedures.
IURLSearchHook接口被浏览器用来转换一个未知的URL协议地址。当浏览器企图去打开一个未知协议的URL地址时,浏览器首先尝试从这个地址得到当前的协议,如果不成功,浏览器将创建在系统中注册的URL Search Hook对象并调用每一个对象的Translate方法,直到地址被转换或所有的URL Search Hook都尝试过。
也就是说,我们可以注册一种目前不存在的协议(类似HTTP),当浏览器遇到新的协议时会自动调用Translate方法来翻译我们的协议,甚至激活我们自己的程序。
-Like Skype through URL to trigger its own procedures IURLSearchHook browser interface is used to convert an unknown URL Protocol addresses. When a browser attempts to open a URL address unknown agreement, the browser first of all try to get this address from the current agreement, if unsuccessful, the browser will create in the system registered URL Search Hook objects and call each object Translate method, until the addresses are converted or all of the URL Search Hook have tried. In other words, we can sign an agreement currently does not exist (similar to HTTP), when the browser encountered new agreement will automatically call Translate ways to translate our agreement, and even the activation of our own procedures.
相关搜索: IURLSearchHook
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CustomWebProtocol
.................\CustomWebProtocol.aps
.................\CustomWebProtocol.clw
.................\CustomWebProtocol.cpp
.................\CustomWebProtocol.dsp
.................\CustomWebProtocol.dsw
.................\CustomWebProtocol.exe
.................\CustomWebProtocol.h
.................\CustomWebProtocol.ilk
.................\CustomWebProtocol.ini
.................\CustomWebProtocol.ncb
.................\CustomWebProtocol.opt
.................\CustomWebProtocol.plg
.................\CustomWebProtocol.rc
.................\CustomWebProtocol.sln
.................\CustomWebProtocol.vcproj
.................\CustomWebProtocol.vcproj.CHRYS-T60.chrys.user
.................\CustomWebProtocolDlg.cpp
.................\CustomWebProtocolDlg.h
.................\Debug
.................\EncryptAndDecrypt
.................\.................\DESEncrypt.cpp
.................\.................\DESEncrypt.h
.................\.................\Encrypt.cpp
.................\.................\Encrypt.h
.................\English.lng
.................\global.cpp
.................\global.h
.................\ReadMe.txt
.................\RegisterTable.cpp
.................\RegisterTable.h
.................\res
.................\...\CustomWebProtocol.rc2
.................\resource.h
.................\Setting.cpp
.................\Setting.h
.................\StdAfx.cpp
.................\StdAfx.h
.................\CustomWebProtocol.aps
.................\CustomWebProtocol.clw
.................\CustomWebProtocol.cpp
.................\CustomWebProtocol.dsp
.................\CustomWebProtocol.dsw
.................\CustomWebProtocol.exe
.................\CustomWebProtocol.h
.................\CustomWebProtocol.ilk
.................\CustomWebProtocol.ini
.................\CustomWebProtocol.ncb
.................\CustomWebProtocol.opt
.................\CustomWebProtocol.plg
.................\CustomWebProtocol.rc
.................\CustomWebProtocol.sln
.................\CustomWebProtocol.vcproj
.................\CustomWebProtocol.vcproj.CHRYS-T60.chrys.user
.................\CustomWebProtocolDlg.cpp
.................\CustomWebProtocolDlg.h
.................\Debug
.................\EncryptAndDecrypt
.................\.................\DESEncrypt.cpp
.................\.................\DESEncrypt.h
.................\.................\Encrypt.cpp
.................\.................\Encrypt.h
.................\English.lng
.................\global.cpp
.................\global.h
.................\ReadMe.txt
.................\RegisterTable.cpp
.................\RegisterTable.h
.................\res
.................\...\CustomWebProtocol.rc2
.................\resource.h
.................\Setting.cpp
.................\Setting.h
.................\StdAfx.cpp
.................\StdAfx.h