• <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>
            還沒(méi)想好
            還沒(méi)想好
            posts - 4,comments - 6,trackbacks - 0
            記錄從VC6 到 VC8遇到的問(wèn)題和解決辦法
            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變動(dòng)很大,
            // 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;
            }

            竟然有這么大的區(qū)別,同時(shí)看不懂VC8為什么要那么作

            posted on 2008-03-15 02:57 MDnullWHO 閱讀(979) 評(píng)論(0)  編輯 收藏 引用

            只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            欧美亚洲另类久久综合婷婷 | 国内精品久久久人妻中文字幕| 青青热久久国产久精品| 日韩人妻无码一区二区三区久久99| 久久伊人精品一区二区三区| 久久精品无码午夜福利理论片| 日本久久久精品中文字幕| 色诱久久av| 国产精品久久免费| 亚洲伊人久久综合中文成人网| 久久精品九九亚洲精品| 久久久受www免费人成| 久久精品九九亚洲精品| 一本大道久久香蕉成人网| 日本福利片国产午夜久久| 日韩精品久久久久久免费| 久久国产视频99电影| 777米奇久久最新地址| 久久狠狠爱亚洲综合影院| 91精品婷婷国产综合久久| 久久亚洲精品无码AV红樱桃| 久久久国产视频| 2021国内久久精品| 亚洲国产成人精品女人久久久 | 一本久久免费视频| 99久久国产亚洲高清观看2024 | 久久乐国产精品亚洲综合| .精品久久久麻豆国产精品| 国产偷久久久精品专区| 欧洲性大片xxxxx久久久| 国产精品女同一区二区久久| 久久久久久久综合日本亚洲| 国产精品久久久天天影视| 久久久久无码精品国产不卡| 性色欲网站人妻丰满中文久久不卡| 久久午夜无码鲁丝片午夜精品| 久久精品国产亚洲7777| 国产亚洲色婷婷久久99精品91| 久久93精品国产91久久综合| 久久久久国产一区二区| 亚洲国产精品狼友中文久久久 |