delphi的BUG如何解決? |
答題得分者是:william
|
flyup
資深會員 發表:280 回覆:508 積分:385 註冊:2002-04-15 發送簡訊給我 |
1. 大圖片在ImageList中使用導致的問題
------------------------------------------
1. 在form上放上一ImageList
2. 設ImageList寬高到為500*500
3. 加入一張圖片,超大的
4. 儲存.
5. 現在你有著全球儲存速度最慢的Delphi,有些時候,會shutdown. 2. Application.Title不能使用運算符和變量的問題
------------------------------------------
1. 隨便新建個應用
2. 在計畫檔文件(.DPR)中加入一行
Application.Title := '我的' '系統';
3. 你再也無法運行這個應用了,無論它有多麼簡單
4. 你關閉Delphi後,會發現再也打不開這個項目了,或者,你能連Delphi也打不開。 ----------------
局局棋盤步步新,
變化無常平常待。
人生相處平常心,
無憂無慮心事成。
----------------
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
1) You should not use image list to store such a large images, use some sort of resource editor and load the images from resource at runtime.
2) Are you using old version? Delphi 7 IDE would not allow you to run the application if you use '+' in making Application.Title. However the compiled executable runs fine. The dpr file should be managed by the IDE at most times... BTW, I would NOT consider this as bug. It should be the GUIDELINES in using Delphi.
|
flyup
資深會員 發表:280 回覆:508 積分:385 註冊:2002-04-15 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |