Help with understanding why UAC dialog pops up on Win7 for our application

前端 未结 5 359
情书的邮戳
情书的邮戳 2021-01-12 15:11

We have a C++ unmanaged application that appears to cause a UAC prompt. It seems to happen on Win7 and NOT on Vista

Unfortunately the UAC dlg is s

5条回答
  •  星月不相逢
    2021-01-12 15:54

    On Windows 7 (but not Vista) if you say the app needs XP compatibility settings, it will also elevate. See Is UAC on Win7 different than Vista? - if you don't need to elevate, but you do need to be marked XP compat, I don't think there's anything you can do. OTOH if you don't need to be XP compat, stop asking to be.

提交回复
热议问题