在Windows中禁用文件夹虚拟化 [英] disable folder virtualization in windows

查看:205
本文介绍了在Windows中禁用文件夹虚拟化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个c ++应用程序建立在xp和windows vista / 7虚拟化的一些路径,我不想它做。



一些网站说将其添加到清单文件:

 <?xml version =1.0encoding =UTF- standalone =yes?> 
< assembly xmlns =urn:schemas-microsoft-com:asm.v1manifestVersion =1.0>
< trustInfo xmlns =urn:schemas-microsoft-com:asm.v3>
< security>
< requestedPrivileges>
< requestedExecutionLevel level =asInvokeruiAccess =false/>
< / requestedPrivileges>
< / security>
< / trustInfo>
< / assembly>

.net应用程序。我如何在c ++下为visual studio 2005做这个?





编辑:我需要下载vista sdk,并在其工作之前将其bin路径包含在visual studio中。

解决方案

使用给定的上下文创建文件,并在项目设置中添加该文件:




  • 清单工具 >输入和输出> 其他清单文件



完成! $ b

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.

解决方案

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!

这篇关于在Windows中禁用文件夹虚拟化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆