• <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 閱讀(986) 評論(0)  編輯 收藏 引用
            少妇久久久久久被弄到高潮 | 国产精品久久久久9999| 亚洲综合日韩久久成人AV| 精产国品久久一二三产区区别 | 国产精品一区二区久久| 久久精品成人欧美大片| 久久精品国产男包| 国内精品久久久久久麻豆| 亚洲日本va午夜中文字幕久久 | 亚洲&#228;v永久无码精品天堂久久| 亚洲Av无码国产情品久久| 久久国产一区二区| 亚洲精品无码久久一线| 久久精品视屏| 久久精品成人国产午夜| 国产午夜精品久久久久免费视 | 久久亚洲国产成人影院| 93精91精品国产综合久久香蕉| 伊人久久大香线蕉综合影院首页| 四虎国产精品免费久久5151| 伊人久久大香线蕉综合影院首页| 精品99久久aaa一级毛片| 久久天天躁狠狠躁夜夜网站| 久久无码专区国产精品发布| 看全色黄大色大片免费久久久| 久久国产成人精品麻豆| 久久久久久国产精品免费无码| 国产精品久久久久a影院| 久久精品国产一区二区三区| 国产午夜精品理论片久久| 国产精品青草久久久久福利99 | 久久男人Av资源网站无码软件| 色妞色综合久久夜夜| 国产成人综合久久精品红| 日批日出水久久亚洲精品tv| 日日狠狠久久偷偷色综合免费| 午夜精品久久久久成人| 亚洲另类欧美综合久久图片区| 一本久久综合亚洲鲁鲁五月天| 国产精品成人久久久| 久久精品国产第一区二区三区|