• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 64, 文章 - 11, 評論 - 12, 引用 - 0
            數據加載中……

            Talk about user account control

             

            Introduction

            Microsoft corporation is proud of user account controlIt provides maximum protect ability for computerIt is very useful for beginner and generally usersbut people that has experience is very unsuitable。Especially program developer,When we debug our programsome access reject

            We must run the executable file without debug under administrator。At Last I can not bear it。And I disable it

             

            Method

               Open Control panel and go into “user account and family safety”。Click Change your windows password linkbutton。Now at end of row is “Turn user Account Control on or off”.

               Run msconfig.exe. and open the tools tab page. Here provide tool to disable and enable user account control.

               Okay.We can change the pattern now. change it and restart computer. The annoying pop dialog about the permission go away. Oh the Sky is blue back.

             

               Above I resolve the debug trouble. But I can not be sure that the client hate this control yet. Before We release our program, we should configure the project property to request the administrator right.

               If we work under Vs2008 environment. Open the project property page,configuration properties->linker->manifest file. Here you can configurate it.

               If we work under VS2005 environment. It is difficult to configuate. Follow me.

                  Add a xml document which comment like:

            <?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="requireAdministrator" uiAccess="false"></requestedExecutionLevel>

                  </requestedPrivileges>

                </security>

             </trustInfo>

             <dependency>

                <dependentAssembly>

                  <assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>

                </dependentAssembly>

             </dependency>

            </assembly>

            This document must is  a embedded resource. And in property page specify this  file as additional manifest file.  build your program.

             

            At end

            posted on 2008-09-19 09:50 Robertxiao 閱讀(330) 評論(0)  編輯 收藏 引用 所屬分類: 天馬行空

            成人免费网站久久久| 国产精品日韩深夜福利久久| 无码八A片人妻少妇久久| 久久免费观看视频| 久久综合亚洲色HEZYO社区| 一级a性色生活片久久无少妇一级婬片免费放 | 久久夜色精品国产网站| 久久成人影院精品777| 久久免费观看视频| 久久发布国产伦子伦精品| 情人伊人久久综合亚洲| 久久乐国产综合亚洲精品| 国产成人无码久久久精品一| 国产精自产拍久久久久久蜜| 伊人久久大香线蕉AV色婷婷色| 久久精品www人人爽人人| 久久精品国产黑森林| 午夜精品久久久久久中宇| 久久91精品综合国产首页| 久久精品国产亚洲av麻豆蜜芽| 久久国产亚洲精品麻豆| 一级做a爰片久久毛片看看| 久久精品一区二区三区不卡| 伊人久久大香线蕉无码麻豆 | 72种姿势欧美久久久久大黄蕉| 久久九九久精品国产| 人妻精品久久无码区| 中文字幕久久亚洲一区| 久久精品国产精品亚洲| 狠狠干狠狠久久| 久久精品亚洲日本波多野结衣| 国产欧美久久久精品影院| 国产成人精品久久综合 | 99久久综合狠狠综合久久止| 免费久久人人爽人人爽av| 久久国产香蕉一区精品| 国产精品成人99久久久久91gav| 久久精品www| 国产精品久久网| 93精91精品国产综合久久香蕉 | 四虎亚洲国产成人久久精品|