UAC 관련해서 2003에서는 Resource에 다음과 같은 manifest를 추가해줘야 했는데...

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.1.0.0"
    processorArchitecture="x86"
    name="testApp"
    type="win32"
/>
<description>Test App</description>

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
        <requestedPrivileges>
            <requestedExecutionLevel
                level="requireAdministrator"
                uiAccess="false"
            />
        </requestedPrivileges>
    </security>
</trustInfo>
</assembly>

2008에서는 프로젝트 속성에 추가되었다.
Property > Configuration Properties > Linker > Manifest File


728x90

+ Recent posts