disable folder virtualization in windows

风流意气都作罢 提交于 2020-01-02 09:02:09

问题


I currently have a c++ application that gets built on xp and windows vista/7 virtualize some of the paths which i dont want it to do.

Some sites says to add this to manifest file:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
            </requestedPrivileges>
        </security>
    </trustInfo>
</assembly>    

How ever that is for .net applications. How can i do this under c++ for visual studio 2005?

.

Edit: I needed to download the vista sdk and include its bin path in visual studio before this would work.


回答1:


Exactly the same. Create a file with the given context and add that file in your project settings:

  • Manifest Tool > Input and Output > Additional Manifest Files

Done!



来源:https://stackoverflow.com/questions/873676/disable-folder-virtualization-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!