• <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>
            asm, c, c++ are my all
            -- Core In Computer
            posts - 139,  comments - 123,  trackbacks - 0
            /********************************************\
            |????歡迎轉載, 但請保留作者姓名和原文鏈接, 祝您進步并共勉!???? |
            \********************************************/


            讀VC++內幕之體悟 - 11
            作者: Jerry Cat
            時間: 2006/09/10
            鏈接:http://www.shnenglu.com/jerysun0818/archive/2006/09/10/12225.html


            通過在函數OnInitDialog中加入AfxOleLockControl(someActivexControl.GetClsid());可以把ActiveX控件鎖定在內存中,這樣,除非程序退出或者調用了AfxOleUnlockControl,ActiveX控件將總在內存中。
            posted on 2006-09-10 20:20 Jerry Cat 閱讀(703) 評論(3)  編輯 收藏 引用

            FeedBack:
            # re: 讀VC++內幕之體悟 - 11
            2006-09-10 20:48 | chenger
            就這么一點?  回復  更多評論
              
            # re: 讀VC++內幕之體悟 - 11
            2006-09-10 21:00 | Jerry Cat
            積少成多, 聚砂成塔!  回復  更多評論
              
            # re: 讀VC++內幕之體悟 - 11
            2006-09-10 22:49 | 萬連文
            Locks the class factory of the specified control so that dynamically created data associated with the control remains in memory. This can significantly speed up display of the controls. For example, once you create a control in a dialog box and lock the control with AfxOleLockControl, you do not need to create and kill it again every time the dialog is shown or destroyed. If the user opens and closes a dialog box repeatedly, locking your controls can significantly enhance performance. When you are ready to destroy the control, call AfxOleUnlockControl.
            根據msdn解釋和參數來看,恐怕鎖住的不是控件而是控件對應的類廠,僅僅一個clsid不是實例對象,充其量只是決定控件的類型信息。這樣好處應該是多次創建帶來的,COM組件創建需要類廠。  回復  更多評論
              

            <2006年5月>
            30123456
            78910111213
            14151617181920
            21222324252627
            28293031123
            45678910

            常用鏈接

            留言簿(7)

            隨筆檔案

            最新隨筆

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            国产精品狼人久久久久影院| 东京热TOKYO综合久久精品| 欧美色综合久久久久久| 亚洲国产精品嫩草影院久久| 久久国内免费视频| MM131亚洲国产美女久久| 久久精品国产亚洲精品| 2021国产精品久久精品| 国内精品久久国产大陆| 久久综合九色综合网站| 国产精品VIDEOSSEX久久发布| 人妻无码精品久久亚瑟影视| 久久国产精品一区二区| 无码伊人66久久大杳蕉网站谷歌 | 久久亚洲高清综合| 亚洲精品无码久久久久去q | 国产成人无码久久久精品一| 久久久精品久久久久久 | 亚洲成色WWW久久网站| 看全色黄大色大片免费久久久| 久久精品人人做人人爽电影蜜月| 日本精品一区二区久久久| 狠狠色丁香久久综合婷婷| 无码精品久久久久久人妻中字| 久久久久国产一级毛片高清板| 国产成人久久AV免费| 久久久久久亚洲精品成人| 精品国产青草久久久久福利| 久久综合狠狠综合久久97色| 国产精品成人99久久久久91gav| 久久A级毛片免费观看| 久久久精品2019免费观看| 亚洲狠狠婷婷综合久久久久 | 久久99精品免费一区二区| 精品国产VA久久久久久久冰| 午夜精品久久久久久99热| 日韩乱码人妻无码中文字幕久久| 性欧美大战久久久久久久久| 无码久久精品国产亚洲Av影片 | 狠狠色丁香久久婷婷综| 99久久99这里只有免费的精品|