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

how to rebuild run time library of delphi

尚未結案
hydonlee
一般會員


發表:2
回覆:5
積分:1
註冊:2003-11-13

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-12-02 17:02:38 IP:159.226.xxx.xxx 未訂閱
hi, all i want to modify the difinition of TBCDField in DB.pas. But When i want to install it , the matter is : How Can I Make Delphi use the Unit Modified? DB.pas is in DBrtl.dpk(delphi 6), but Can i rebuild it ? Where Can i get the Source? i only find the dbrtl.dcp in $delphi$\lib. thanks. Use your head, Then you will find a way...
------
Use your head, Then you will find a way...
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-12-02 17:46:17 IP:147.8.xxx.xxx 未訂閱
The package file is not provided and there is no way to rebuild the package. However you can make you modification and replace the corresponding dcu found in $(DELPHI)\Lib and $(DELPHI)\Lib\Debug, then your modification will be effective in the compiled executables (NOT build with the runtime package).
hydonlee
一般會員


發表:2
回覆:5
積分:1
註冊:2003-11-13

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-12-02 18:13:52 IP:159.226.xxx.xxx 未訂閱
引言: The package file is not provided and there is no way to rebuild the package. However you can make you modification and replace the corresponding dcu found in $(DELPHI)\Lib and $(DELPHI)\Lib\Debug, then your modification will be effective in the compiled executables (NOT build with the runtime package).
But My APP must build with the runtime package...
------
Use your head, Then you will find a way...
Razor78
一般會員


發表:13
回覆:8
積分:9
註冊:2003-11-18

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-12-03 09:02:38 IP:202.103.xxx.xxx 未訂閱
你需要在命令行方式,通過DCC32.exe編譯DBrtl.dpk!將生成的dbrtl.bpl替換原來的就行了 其實~~~~~~我是個演員!
------
其實~~~~~~我是個演員!
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#5 引用回覆 回覆 發表時間:2003-12-04 10:45:19 IP:147.8.xxx.xxx 未訂閱
引言:But My APP must build with the runtime package... >< face="Verdana, Arial, Helvetica"> I think you are out of luck. Even if you could modify the runtime package, your modification will make the package incompatible with other application. And I think this is the reasone why Borland chooses not to include the package source. Perhaps you could create your own field type but then I think it is easier to search the whole project and change the field to float type. Or perhaps you could keep the type as is and reformat the field display together with proper transformation at the input?
hydonlee
一般會員


發表:2
回覆:5
積分:1
註冊:2003-11-13

發送簡訊給我
#6 引用回覆 回覆 發表時間:2003-12-15 12:29:49 IP:159.226.xxx.xxx 未訂閱
OK, I SEE. Thanks ALL. ------------- Use your head, Then you will find a way...
------
Use your head, Then you will find a way...
系統時間:2024-07-06 5:58:56
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!