Why does /MANIFESTUAC:NO work?

Posted by Eamon on Stack Overflow See other posts from Stack Overflow or by Eamon
Published on 2010-05-25T14:01:09Z Indexed on 2010/05/25 14:21 UTC
Read the original article Hit count: 419

Windows 7, C++, VS2008 I have a COM DLL that needs to be registered using "runas administrator" (it is a legacy app that writes to the registry) The DLL is used by a reports app which instantiates it using CoCreateInstance. This failed unless I also ran the reports app as administrator; until I changed the linker setting from /MANIFESTUAC to /MANIFESTUAC:NO

Can anyone tell me why this works? Does it mean that I can write apps that bypass the UAC using this setting?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio-2008