要用就用下面我自己总结的官方的做法:
1.首先搜到delphi 自带的manifest,然后在其基础上改一个单词

2.将里面的asInvoker改为requireAdministrator

3.修改为保存为uac.manifest

4.在project->options->application->enable runtime themes

就OK了
本文来自博客园,作者:del88,转载请注明原文链接:https://www.cnblogs.com/del88/p/4013569.html
要用就用下面我自己总结的官方的做法:
1.首先搜到delphi 自带的manifest,然后在其基础上改一个单词

2.将里面的asInvoker改为requireAdministrator

3.修改为保存为uac.manifest

4.在project->options->application->enable runtime themes

就OK了
本文来自博客园,作者:del88,转载请注明原文链接:https://www.cnblogs.com/del88/p/4013569.html