• <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 閱讀(980) 評論(0)  編輯 收藏 引用
            久久综合五月丁香久久激情| 久久99国产精品尤物| 久久久久无码中| 久久伊人五月丁香狠狠色| 人妻无码中文久久久久专区| 亚洲国产天堂久久综合网站| 青青青青久久精品国产h久久精品五福影院1421| 亚洲国产成人久久笫一页| 精品乱码久久久久久久| 亚洲人成无码网站久久99热国产| 亚洲国产精品无码久久久秋霞2| AA级片免费看视频久久| 亚洲va久久久噜噜噜久久男同| 亚洲欧美日韩精品久久| 久久免费的精品国产V∧| 久久久久国产一区二区| 狠狠88综合久久久久综合网 | 2021精品国产综合久久| 中文成人久久久久影院免费观看| 99久久99久久久精品齐齐| 亚洲中文字幕无码久久2020| 久久久久人妻精品一区三寸蜜桃| 69国产成人综合久久精品| 午夜天堂精品久久久久| 久久久亚洲欧洲日产国码是AV| 久久乐国产精品亚洲综合| 精品久久综合1区2区3区激情| 狠狠干狠狠久久| 久久se精品一区精品二区| 精品久久久久久亚洲精品| 久久精品国产亚洲AV麻豆网站| 久久青青草视频| 久久亚洲sm情趣捆绑调教| 久久久黄色大片| 久久精品国产男包| 少妇熟女久久综合网色欲| 精品综合久久久久久98| 东方aⅴ免费观看久久av| 狠狠色综合网站久久久久久久高清| 老男人久久青草av高清| 亚洲AV无码久久|