Adding manifest for admin rights request

前端 未结 3 582
孤独总比滥情好
孤独总比滥情好 2020-12-13 17:02

I have an application that writes program settings to the windows registry that is absolutely necessary so.storing to a file is not an option.

To simplify this, I wo

3条回答
  •  没有蜡笔的小新
    2020-12-13 17:26

    In newer versions of Delphi this is no longer necessary.
    Under Project Options, then Application, there is a section for the manifest:


    Screenshot from version 10.2.1 Tokyo

    This automatically takes care of the XP manifest mentioned as a warning at the botom of Kobik's answer.

    I do not know from which Delphi version this was available.
    (Free free to edit this answer if you know). (Edit Ian Murphy Feb 2019: It is not available in XE2)

提交回复
热议问题