• <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>
            還沒想好
            還沒想好
            posts - 4,comments - 6,trackbacks - 0
            記錄從VC6 到 VC8遇到的問題和解決辦法
            1) msvcr80d.dll 找不到
             1)) manifest WIN32 set Yes, 2)) ignore msvcrt.lib
             /*
             

            Hi there,

            I read every post in this thread without any help in my case.

            The problem turned out: The DEBUG version was trying to link with BOTH msvcr80.dll and msvcr80d.dll.

            Check if this is the case for you using the "dependency walker" on your executable. If these two are both loaded, then you got the same problem as I did.

            The solution is to set "Properties->Linker->Input->Ignore Specific library" to "msvcrt.lib".

             

            More details below:

            I was compiling and running a program that uses opencv library. One of the libraries in opencv (highgui to be exact) was linking with non-debug versions of some graphics libraries even in its debug version. Apparently this was OK before. 

            This resulted in my debug version program linking with both msvcr80.dll and msvcr80d.dll. It appears this is a problem since the manifest only mentions one of these libraries and the other one (msvcr80.dll) appears not to be found causing the error mentioned in this thread. Why no-one in this thread mentioned that this could be the case is beyond me. I found out about this using "dependency walker" on the .exe that I compile and/or the highgui100d.dll that I load from the library.

            That is the reason the complaint is about msvcr80.dll and not msvcr80d.dll in VS8!!!

            The fix is to re-compile highgui100d.dll (debug version) with Properties->Linker->Input->Ignore Specific library set to singly "msvcrt.dll".

            Just wanted to add this so other people do not waste time as I did...

            Hakan

            */

            2) MFC 
             MFC 從VC6到V8變動很大,
            // VC8
            LRESULT CDialogBar::HandleInitDialog(WPARAM, LPARAM)
            {
             Default();  // allow default to initialize first (common dialogs/etc)

             // create OLE controls
             COccManager* pOccManager = afxOccManager;
             if ((pOccManager != NULL) && (m_pOccDialogInfo != NULL))
             {
              if (!pOccManager->CreateDlgControls(this, m_lpszTemplateName,
               m_pOccDialogInfo))
              {
               TRACE(traceAppMsg, 0, "Warning: CreateDlgControls failed during dialog bar init.\n");
               return FALSE;
              }
             }

             return FALSE;
            }

            //VC6
            LRESULT CDialogBar::HandleInitDialog(WPARAM, LPARAM)
            {
             Default();  // allow default to initialize first (common dialogs/etc)

             // create OLE controls
             COccManager* pOccManager = afxOccManager;
             if ((pOccManager != NULL) && (m_pOccDialogInfo != NULL))
             {
              if (!pOccManager->CreateDlgControls(this, m_lpszTemplateName,
               m_pOccDialogInfo))
              {
               TRACE0("Warning: CreateDlgControls failed during dialog bar init.\n");
               return FALSE;
              }
             }

             return TRUE;
            }

            竟然有這么大的區別,同時看不懂VC8為什么要那么作

            posted on 2008-03-15 02:57 MDnullWHO 閱讀(978) 評論(0)  編輯 收藏 引用
            久久精品天天中文字幕人妻| 一本色道久久88综合日韩精品| 麻豆一区二区99久久久久| 久久久久免费看成人影片| 国产精品毛片久久久久久久| 夜夜亚洲天天久久| 蜜桃麻豆www久久国产精品| 亚洲中文字幕久久精品无码APP| 色欲久久久天天天综合网 | 热久久国产精品| 亚洲日本va午夜中文字幕久久| 久久综合狠狠综合久久| 日本免费一区二区久久人人澡 | 污污内射久久一区二区欧美日韩| 漂亮人妻被黑人久久精品| 国内精品久久久久久久涩爱| 无码超乳爆乳中文字幕久久| 久久精品国产只有精品66| 99久久免费国产特黄| 狠狠色丁香久久婷婷综合蜜芽五月| 丁香五月网久久综合| 99久久无色码中文字幕人妻| 久久综合九色综合欧美就去吻| 999久久久无码国产精品| 久久久久久久97| 久久亚洲精品无码观看不卡| 日本道色综合久久影院| 99久久99久久| 国产亚洲美女精品久久久久狼| 色8久久人人97超碰香蕉987| 伊人久久无码精品中文字幕| 久久久久久久久久久免费精品| 青青青国产成人久久111网站| 久久久噜噜噜久久中文福利| 久久人人爽人人人人爽AV| 亚洲国产成人久久综合一区77| 青青草国产97免久久费观看| 人妻丰满?V无码久久不卡| 香蕉久久AⅤ一区二区三区| 久久久久久亚洲精品不卡| 久久有码中文字幕|