全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1929
推到 Plurk!
推到 Facebook!

如何在 BCB6 安裝 GraphicEx (已參閱過其它文章仍無法解決)

尚未結案
sokoyo
一般會員


發表:3
回覆:4
積分:1
註冊:2004-12-02

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-07-14 04:21:16 IP:140.138.xxx.xxx 未訂閱
已看過 http://delphi.ktop.com.tw/topic.php?topic_id=47911 http://delphi.ktop.com.tw/topic.php?topic_id=52953 http://delphi.ktop.com.tw/topic.php?topic_id=48122 這些文章 仍然是無法使用 GraphicEx 我下載完後 將所有解壓縮後的檔案放置於 C:\GraphicEx 下 從 Component -> Install Component... -> Browse... 將所有 C:\GraphicEx 下所有 *.pas (GraphicColor.pas, GraphicCompression.pas, GraphicEx.pas, GraphicStrings.pas, JPG.pas, MZLib.pas) 安裝 將 Tools -> Environment Options... -> Libery -> Libery path 最前面加上 "C:\GraphicEx;" 將 Project -> Options... -> Directories/Conditionals 內的 Include path 和 Libery path 最前面也加上 "C:\GraphicEx;" 我在新的 Application 下 只放一個 TImage 然後直接在 Design 時 Picture 直接選一個 gif 或 png 檔 結果執行時還是出現 [C Error] GraphicEx.hpp(148): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)' 有注意到 .h 檔自動多了 #include "GraphicEx.hpp" .cpp 檔自動加上 #pragma link "GraphicEx" 請問到底該怎麼安裝 才能使用 GraphicEx 呢 ? 發表人 - sokoyo 於 2005/07/14 04:26:24
sokoyo
一般會員


發表:3
回覆:4
積分:1
註冊:2004-12-02

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-07-20 16:20:51 IP:140.138.xxx.xxx 未訂閱
http://0rz.net/920uq    根據此篇文章 已經能使用了    方法是把     GraphicEx.pas 裡的 class function TGraphicExGraphic.CanLoad(const FileName: String):Boolean; 都改成 function TGraphicExGraphic.CanLoad(const FileName: String): Boolean; 再重新 compile -> install 就可以執行了 不過不曉得為什麼可以
系統時間:2024-05-03 15:14:54
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!