• <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)  編輯 收藏 引用
            99久久伊人精品综合观看| 久久人妻AV中文字幕| 97久久精品无码一区二区天美| 91精品国产综合久久久久久| 97久久香蕉国产线看观看| 91精品国产综合久久香蕉| 亚洲国产成人久久一区WWW| 日本人妻丰满熟妇久久久久久| 久久精品人人做人人爽电影| 久久久久亚洲AV无码网站| 国产精品美女久久久久AV福利| 99久久免费国产精品特黄| 韩国无遮挡三级久久| 无码国内精品久久人妻麻豆按摩| 久久精品九九亚洲精品| 一级A毛片免费观看久久精品| 99久久国产热无码精品免费| 伊人色综合久久天天网| 很黄很污的网站久久mimi色 | 99热成人精品热久久669| 久久精品免费大片国产大片| 久久亚洲高清观看| 色88久久久久高潮综合影院| 亚洲精品WWW久久久久久 | 国产精品久久婷婷六月丁香| 国产农村妇女毛片精品久久 | 久久天天躁狠狠躁夜夜2020老熟妇 | 亚洲欧美精品伊人久久| 久久久久免费看成人影片| 久久亚洲精品国产精品婷婷| 久久久不卡国产精品一区二区 | 亚洲精品高清一二区久久| 狠狠色综合网站久久久久久久| 国产精品美女久久久m| 久久久久久国产精品免费无码| 久久久久久精品久久久久| 少妇无套内谢久久久久| 国产精品久久久香蕉| 亚洲精品综合久久| 99久久综合国产精品免费| 欧美激情一区二区久久久|