2012-04-18 95 views
3

我在Delphi XE2上安裝了TurboPower Orpheus。我從sourceforge.net得到了Orpheus。 Orpheus for Delphi XE2版本有四個Borland Package Libaries(BPL):O408_r160.bpl,O408_d160.bpl,O408br160.bpl和O408bd160.bpl。Delphi XE2和TurboPower Orpheus

SourceForge沒有任何文檔解釋這些庫之間的區別。

有人可以爲我解碼文件名,所以我可以確定這四個庫中的哪一個安裝到Delphi XE2中。

謝謝!

+4

XXXD160.bpl是設計時間,XXXr160.bpl是運行時間 – 2012-04-18 19:36:45

+0

您將安裝O408_d160,這將要求O408_r160.bpl位於同一文件夾中,並且無論您的系統是否在PATH中, 。設計時間反過來將加載運行時軟件包。 – 2012-04-18 22:44:30

回答

8

從與TP奧菲斯初始開源版本附帶的readme.txt:

2. Package names 


TurboPower Orpheus package names have the following form: 

    ONNN_KVV.* 
    | || 
    | |+------ VV VCL version (30=Delphi 3, 35=C++Builder 3, 70=Delphi 7) 
    | +------- K Kind of package (R=runtime, D=designtime) 
    | 
    +----------- NNN Product version number (e.g., 406=version 4.06) 

For example, the Orpheus runtime package files for Delphi 7 have 
the filename O406_D70.*. 

The runtime package contains the core functionality of the product and 
is not installed into the IDE. The designtime package references the 
runtime package, registers the components, and contains property 
editors used in the IDE. 

注意:@WarrenP指出的是,上述文本中包含錯誤(可能只是一個錯字由作者在TurboPower); 「例如」有相反的事情 - 它應該說「Delphi 7的Orpheus designtime包文件」。

XE2是德爾福版本16,所以它將以r160d160結尾,d160是設計時間包。我認爲(但還沒有機會證實)XE2對於Delphi和C++ Builder需要稍微不同的包,並且br160bd160指的是"B"uilder。我會試着驗證一下;我在這臺機器上沒有Orpheus,但是我的辦公機器上有(遺留的東西),所以我會盡快更新。在此期間,我首先編譯O408_r160.dproj,然後編譯並安裝O408_d160.dproj;我很確定那些是你需要的。

+0

因此,只要忽略'br' ones – 2012-04-18 22:43:39

+0

@WarrenP,我說*對*以'd160'或'r160'結尾。 IIRC,XE2版本對於Builder和Delphi有不同的包,但是我還沒有機會檢查它。我會將其添加到答案中。 – 2012-04-18 22:45:58

+0

奇怪的是你的文檔片段說「運行時間」使用D後綴代替R,這很可能是一個簡單的錯字。 – 2012-04-18 22:48:22