• <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>
            隨筆-60  評論-262  文章-1  trackbacks-0

            http://blog.tinybrowser.net/archives/564

            posted on 2009-01-08 15:34 free2000fly 閱讀(9062) 評論(18)  編輯 收藏 引用

            評論:
            # re: 能用于 VC6 的 CImage 類 2009-01-08 16:12 | kuafoo
            樓主能不能打個包啊  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-08 16:31 | Layabout
            這么復雜?不是包含GDI+就行了嘛  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-08 17:18 | 飯中淹
            用VC6的理由有點牽強。。。  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-08 17:44 | lwan
            可以使用IImgCtx或者OleLoadImage(這個名字不一定正確),IImgCtx除了alpha通道不支持,其他尚可。  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-08 20:11 | free2000fly
            @kuafoo
            對不起, 目的就是用這么長的代碼撐門面, 呵呵  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-09 10:50 | 肥仔
            強,支持
            對VC6這東西太有感情,完全不可割舍。  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-09 13:46 | 回復
            卻一定要在 VC6 的圈子里混(因為編譯出來的可執行文件不用帶一大堆什么.Net框架

            誰說的VC7、8、9編譯出來的東西一定要帶.NET的RUNTIME
              回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-01-09 14:51 | free2000fly
            @回復
            你真可愛  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-04-25 10:00 | phcole
            前幾天就在想辦法讓VC6能用上CImage,沒想到就找到了您的文章……不過寫的太模糊了,能不能貼個實例出來呢?先謝過了。  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-05-29 18:50 | hufz
            試了一下,編譯總是出錯,能不能給出個實例啊.謝謝  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-12-10 14:45 | wwjjjj
            USES_ATL_SAFE_ALLOCA、USES_CONVERSION_EX、T2CW_EX等未定義,樓主能否解決一下  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-12-17 11:26 | mzwang123
            樓主,blog左上角的小老鼠flash特別可愛,能否給我傳一個。感激不盡。mzwang123@163.com  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2009-12-17 13:32 | free2000fly
            # re: 能用于 VC6 的 CImage 類 2010-01-13 09:00 | janeyre
            不能用的
            比如前面的幾行

            #pragma once

            //#include
            #include
            //#include
            //#include
            //#include

            #ifndef __TSTRING__
            #define __TSTRING__
            #include
            namespace std {
            typedef basic_string _tstring;
            }; // namespace std
            #endif // __TSTRING__

            這是什么語法,#include后面是空的  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2010-01-13 10:40 | free2000fly
            @janeyre
            I'm sorry, 只能通過"查看源碼"取得源碼. 網頁編輯器的問題.  回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2010-01-31 23:15 | Turtle
            我按照您的設定完成之后
            從這里copy下來的atlimage.h 檔經過 VC6 compile
            會發生以下的error message
            C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\ATLIMAGE.H(435) : error C2065: 'InterlockedExchangePointer' : undeclared identifier
            C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\ATLIMAGE.H(435) : error C2440: 'static_cast' : cannot convert from 'int' to 'struct HDC__ *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
            C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\ATLIMAGE.H(453) : error C2440: 'static_cast' : cannot convert from 'int' to 'struct HDC__ *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
            Error executing cl.exe.

            請問一下該如何解決?
              回復  更多評論
              
            # re: 能用于 VC6 的 CImage 類 2010-11-09 13:40 | Turtle
            @free2000fly

            Actually, it is beacuse the VC6 compliler didn't recognize the identifier "InterlockedExchangePointer," which is claimed in 'Wdm.h."

            So we can find the header file, and then copy the code in regarding of the "InterlockedExchangePointer" and then paste into atlimage.h.

            Here is the code:
            #ifndef InterlockedExchangePointer
            // NT's new InterlockedExchangePointer() takes care of 32 bit/64 bit pointers.
            // whereas the old InterlockedExchange() only work on 32 bit pointers.
            //
            __inline PVOID InterlockedExchangePointer( PVOID *Target, PVOID Value ) {
            return (PVOID) InterlockedExchange( (LPLONG)Target, (LONG)Value );
            }
            #endif

            I have placed in the head of the file "atlimage.h" and it can pass the compilation.

            F.Y.I.  回復  更多評論
              
            99国产精品久久久久久久成人热| 香蕉aa三级久久毛片| 亚洲综合熟女久久久30p| 一本一本久久A久久综合精品 | 69久久精品无码一区二区| 久久精品九九亚洲精品| 99久久国产热无码精品免费久久久久| 久久国产乱子伦精品免费午夜| 久久人做人爽一区二区三区 | 色综合久久精品中文字幕首页| 精品国产一区二区三区久久蜜臀| 精品国产99久久久久久麻豆 | 国产精品久久久久9999| 久久精品亚洲男人的天堂| 蜜臀av性久久久久蜜臀aⅴ| 色综合久久综精品| 婷婷久久香蕉五月综合加勒比| 精品久久国产一区二区三区香蕉| 亚洲AV日韩AV天堂久久| 国产一区二区精品久久岳| 国内精品九九久久久精品| 亚洲精品NV久久久久久久久久 | 国产精品美女久久久网AV| AV无码久久久久不卡蜜桃| 久久久久国色AV免费看图片| 国产精品久久久久天天影视| 99久久国产综合精品女同图片| 久久国产免费直播| 精品无码人妻久久久久久| 99久久精品免费看国产一区二区三区| 久久成人国产精品| 久久午夜羞羞影院免费观看| 亚洲熟妇无码另类久久久| A级毛片无码久久精品免费| 久久久久亚洲av成人网人人软件 | 性做久久久久久久| 久久精品国产免费观看| 77777亚洲午夜久久多人| 久久人人爽人人爽人人片AV高清| 天堂无码久久综合东京热| 国产香蕉久久精品综合网|