• <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 閱讀(330) 評論(0)  編輯 收藏 引用 所屬分類: 天馬行空

            久久国产欧美日韩精品| 久久综合九色综合欧美就去吻| 久久最新免费视频| 亚洲伊人久久综合中文成人网| 国产精品久久婷婷六月丁香| 狠狠色婷婷久久综合频道日韩| 久久综合噜噜激激的五月天 | 久久精品九九亚洲精品| 2021久久精品国产99国产精品| 国产激情久久久久影院老熟女| 美女久久久久久| 久久线看观看精品香蕉国产| 亚洲Av无码国产情品久久| 精品熟女少妇av免费久久| 久久久久99精品成人片牛牛影视| 久久精品卫校国产小美女| 久久久久久免费一区二区三区| 久久只有这精品99| 国产精品九九久久免费视频 | 亚洲国产综合久久天堂| 99久久久国产精品免费无卡顿| 久久久久人妻一区精品| 国产精品久久久久久久久| 2020国产成人久久精品| 国产成人久久精品二区三区| 一本色综合网久久| 久久人人爽人人人人爽AV| 久久99国产一区二区三区| 国内精品久久久久久野外| 人妻无码久久一区二区三区免费 | 久久国产成人午夜aⅴ影院| 精品久久人妻av中文字幕| 人妻无码精品久久亚瑟影视| 久久综合伊人77777麻豆| 久久精品视频91| 色婷婷久久久SWAG精品| 久久久精品日本一区二区三区 | 亚洲AV无一区二区三区久久| 青青草原综合久久大伊人| 麻豆久久久9性大片| 久久精品国产2020|