让delphi生成的程序自动使用管理员权限,带有uac盾牌

/Files/jxgxy/uac.zip

 

只要引用附件的uac.RES即可,如果编译时出现:[DCC Error] E2161 Warning: Duplicate resource:  Type 24 (user-defined), ID 1; File uac.res resource kept; file Dyj2.RES resource discarded. 

那么只要这样设置就可以了:Project->options->Application->Enable runtime themes,把勾勾去掉,然后再编译,即可。刷流量 
 

posted on 2012-04-13 19:28  jxgxy  阅读(1103)  评论(1编辑  收藏  举报

导航