Can Delphi be used to create and handle a custom protocol handler?

前端 未结 3 1402
旧巷少年郎
旧巷少年郎 2020-12-24 08:40

We have a need to interoperate between one of our web apps and a Win32 app created in Delphi.

A colleague suggested using a custom protocol handler like ourcom

相关标签:
3条回答
  • 2020-12-24 09:23

    Yes, as a matter of fact that is exactly how the IDE Welcome page works. We register a custom protocol handler for bds://.

    0 讨论(0)
  • 2020-12-24 09:29

    A custom protocol handler is a registered COM object that implements the IInternetProtocol interface.

    Here http://www.doogal.co.uk/plugprot.php is some information on how to implement it in Delphi.

    0 讨论(0)
  • 2020-12-24 09:41

    MSDN has an article explaining the whole thing. It describes the registry entries you need to set up, and it describes the command line that Internet Explorer will use to invoke your program.

    There's nothing to prevent you from writing a protocol handler in any Delphi version you want.

    0 讨论(0)
提交回复
热议问题