• <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, 評(píng)論 - 12, 引用 - 0
            數(shù)據(jù)加載中……

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

            国产精品久久久福利| 久久精品国产亚洲精品| 久久精品国产99国产精品澳门| 国产精品久久毛片完整版| 国产免费久久精品丫丫| 国产精品久久婷婷六月丁香| 久久精品天天中文字幕人妻| 国产精品激情综合久久| 无码专区久久综合久中文字幕| 日本免费久久久久久久网站| 久久天天躁夜夜躁狠狠| 国产高潮久久免费观看| 亚洲欧美日韩久久精品第一区| 国产精品成人99久久久久| 久久综合九色综合网站| 午夜视频久久久久一区 | 久久综合给合久久狠狠狠97色| 91精品国产色综久久| 久久久一本精品99久久精品88| 日韩十八禁一区二区久久| 99久久久国产精品免费无卡顿| 一本久久a久久精品综合香蕉| 日本免费一区二区久久人人澡| 色欲综合久久躁天天躁蜜桃| 亚洲天堂久久久| 国产99久久九九精品无码| 欧美精品久久久久久久自慰| 偷偷做久久久久网站| 久久一本综合| 理论片午午伦夜理片久久| 久久亚洲国产欧洲精品一| 久久精品中文字幕无码绿巨人| 老男人久久青草av高清| 亚洲精品WWW久久久久久| 久久综合亚洲色HEZYO国产| 国产亚洲精久久久久久无码AV| 精品久久一区二区三区| 91精品国产色综合久久| 国产成人久久精品一区二区三区| 久久精品国产第一区二区三区| 日产精品久久久久久久|