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

前端 未结 5 465
情书的邮戳
情书的邮戳 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条回答
  •  梦毁少年i
    2021-01-12 15:32

    If you are not even getting to your main function, then either a DLL used by your app is doing something in its DllMain initialization or your app has a manifest requesting elevation.

    I think you should be able to remotely debug it with windbg; when the prompt is shown you can break into the debugger and see what your app is trying to do.

提交回复
热议问题