Главная страница
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.011 c
1-55092
Andrew22
2002-05-29 15:23
2002.06.17
Реестр


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


3-55013
Wreck
2002-05-23 19:22
2002.06.17
КАК писать скрипты???????????


1-55190
Alexander_D6_XP
2002-06-04 18:04
2002.06.17
сделать Ctrl+Enter в TMemo?!


3-54984
RiNat
2002-05-23 04:48
2002.06.17
THalcyonDataSet для чайника