Главная страница
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.013 c
3-54995
VictorT
2002-05-21 14:42
2002.06.17
Проблемка с индексами.


1-55102
Alexis2k
2002-06-06 10:26
2002.06.17
Как встроить VCL компонент в PopUpMenu?


14-55284
Neon_space
2002-05-14 20:28
2002.06.17
Конвертирование проектов Delphi в проекты C++ Builder


3-54970
Sergant
2002-05-22 13:02
2002.06.17
Копирование баз данных с интервалом 1 час


8-55234
dmitriyk
2002-01-31 03:22
2002.06.17
Как качественно перевести цветную картинку в черно-белую