本文介绍了在Delphi 7/2006应用程序中的Win8上注册自定义协议处理程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要将我们的应用注册为自定义协议拨号电话:// (有时是默认协议之一)的默认协议处理程序。

We need to register our app as the default protocol handler for a custom protocol dialphone:// (and sometimes for one of the default protocols).

我们执行此操作的代码在Win8上中断(损坏的方式和原因描述)

Our code to do this broke on Win8 (how and why of breakage described by MS)

我们不清楚:


  • 如何解决这个问题

  • 在代码中做什么


似乎说我们必须使用 IApplicationAssociationRegistrationUI

This articlein the Default Programs UI section seems to say we have to use IApplicationAssociationRegistrationUI

但不清楚:


  • 如何在应用列表中获取我们的应用

  • 有没有办法静默地执行此操作(因此用户不必单击UI)

有人可以列出我们应该做的事情,以及delphi中可能的示例吗?

Can someone lay out what we should do, and if possible examples in delphi?

推荐答案

MSDN:

一些帮助链接:

我认为您的注册条目存在一些错误,因此对可以的话。

I think you have some error on your register entries, so its good to post it if you can.

这篇关于在Delphi 7/2006应用程序中的Win8上注册自定义协议处理程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:41