Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.06.17;
Скачать: CL | DM;

Вниз

Совместимость D4 и D5   Найти похожие ветки 

 
AndDem   (2002-06-06 09:01) [0]

Вроде, с D4 появилось понятие пакета (похоже, аналог DLL). Возникла проблема подключения пакета D4 к проге, написанной на D5 (требует vcl для D4).
Вопрос:
1. Просветите, плиз, в назначении пакетов и их связи с DLL.
2. Как решить проблему совместимости, описанную выше.
Заранее благодарен.


 
Игорь Шевченко ©   (2002-06-06 09:41) [1]

Не получится подключить пакет от D4 к программе на D5. Проблема решается перекомпиляцией пакета под D5


 
Севостьянов Игорь ©   (2002-06-06 11:43) [2]

Согласен только перекомпиляцией пакета под D5
Пакеты это все же не DLL (Dynamic Link Library),
а BPL (Borland Package Library)

А вообще в Help все написано

A package is a specially compiled dynamic-link library used by Delphi applications, the Delphi IDE, or both. Runtime packages provide functionality when a user runs an application. Design-time packages are used to install components in Delphi’s IDE and to create special property editors for custom components. A single package can function at both design time and runtime, and design-time packages frequently work by referencing runtime packages in their requires clauses.

To distinguish them from other DLLs, package libraries are stored in files that end with the .BPL (Borland package library) extension.
Ordinarily, packages are loaded statically when an applications starts. But you can use the LoadPackage and UnloadPackage routines (in the SysUtils unit) to load packages dynamically.

Note: When an application utilizes packages, the name of each packaged unit still must appear in the uses clause of any source file that references it.

Package declarations and source files
Compiling packages



Страницы: 1 вся ветка

Текущий архив: 2002.06.17;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.016 c
14-55267
Fellomena
2002-05-13 18:51
2002.06.17
Поставка прог. продукта заказчику. Что использовать ISO, ГОСТ ?


1-55187
PTE
2002-06-05 08:53
2002.06.17
Timer и ProgressBar


1-55067
vlv
2002-06-05 18:12
2002.06.17
Com - объекты


7-55326
HVS
2002-03-10 11:25
2002.06.17
Состояние телефонной линии после набора номера


1-55121
Nat21
2002-06-05 22:33
2002.06.17
Спираль