• <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 unsuitableEspecially program developerWhen we debug our programsome access reject

            We must run the executable file without debug under administratorAt Last I can not bear itAnd I disable it

             

            Method

               Open Control panel and go into “user account and family safety”Click Change your windows password linkbuttonNow 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 閱讀(339) 評論(0)  編輯 收藏 引用 所屬分類: 天馬行空

            99久久精品国产综合一区| 久久久久亚洲精品天堂| 久久久高清免费视频| 国产精品美女久久福利网站| www性久久久com| 亚洲国产成人久久综合碰| 性高湖久久久久久久久| 国内精品久久久久久久亚洲| 久久精品亚洲精品国产色婷| 久久亚洲高清观看| 国内精品欧美久久精品| 亚洲国产精品无码久久一区二区 | 久久久精品视频免费观看| 久久久一本精品99久久精品88| 久久九九青青国产精品| 亚洲国产精品18久久久久久| 亚洲精品99久久久久中文字幕| 久久99国产精品久久久| 久久久精品人妻一区二区三区蜜桃 | 久久青青草原国产精品免费| 久久久亚洲AV波多野结衣| 精品人妻伦九区久久AAA片69| 国产Av激情久久无码天堂| 久久久亚洲裙底偷窥综合| 综合久久一区二区三区| 四虎影视久久久免费| 色综合久久天天综线观看| 国产免费久久久久久无码| 久久国产劲爆AV内射—百度| 欧美午夜A∨大片久久| 国产精品激情综合久久| 精品国产综合区久久久久久| 国内精品伊人久久久久网站| 亚洲国产精品人久久| 狠狠色丁香婷婷综合久久来来去| 99久久免费国产特黄| 99久久99这里只有免费费精品 | 日韩欧美亚洲综合久久影院d3| 久久久久亚洲AV片无码下载蜜桃| 亚洲综合伊人久久大杳蕉| 久久精品国产亚洲AV高清热|