URL protocol handler demo Use Delphi to program the URL protocol handler function in windows. 1. Purpose implementation is similar to: 1. synacast of PPLIVE: // protocol; 2. thunder downloaded by thunder: // protocol , etc. As long as the link on IE or web page, the resource manager, or start-running dialog, enter the URL proltol ://....; you can start the corresponding Program . 2. Implementation technical description Register a URL protocol handler with windows. enter the protocol name in the registry, response Process path; related technical reference: http://msdn.microsoft.com/library/default.asp? Url =/Workshop/networking/pluggable/Overview/appendix_a.asp 3. usage of this demo; 1. run the demo and click "register do2008: // protocol" to register with windows. 2. after registration, you can run this demo by entering the link in IE or web page, resource manager, or start-running dialog. enter do2008: // hello, the world, and display the corresponding message. 3. click "unregister do2008: // protocol" to cancel registration. 4. Source Code Description it is written in Delphi7 and no third-party controls are used, Code can be freely transmitted and used for reference. |