Главная страница
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.01 c
1-55107
DenNNis
2002-06-06 08:17
2002.06.17
PageControl


4-55343
Nomad
2002-04-10 11:16
2002.06.17
как недопустить закрытия плавающего окошка?


4-55367
Darlok
2002-04-16 15:11
2002.06.17
Помогите!!!!


14-55260
Подонок
2002-05-13 14:28
2002.06.17
Можно ли узнать смотрят ли твой компьютер сейчас черз RemoteAdmin


4-55351
Sergn
2002-04-12 21:22
2002.06.17
ShowWindow(wndHandle, SW_RESTORE) и минимизация приложения