Setting up a Delphi environment for developing packages / components

After reading some mailing lists and bbs, I could not find the right way to set up a development environment for developing packages and components. Perhaps we can collect some tips here for a good setup.

For component development, it is proposed to create a run-time package containing the run-time code for the component and a development-time package that uses the run-time package and registers only components for delphi ide.

Therefore, in my case, I use a group project that contains the following projects:

MyComponentGrp
|
+- MyComponent140.bpl      //the runtime package containing TMyComponent
|
+- DclMyComponent140.bpl   //designtime package wich registers TMyComponent
|
+- TestApp.exe             //an application to test the component

This setting works fine, but to change the code in the runtime package, you need to reinstall the designtime package for the changes to be applied. I understand this behavior when I need to add new properties. But when changing code inside a method, for example, it should be enough to create a runtime package, right?

How to set up an IDE for component development?

+3
source share
1 answer

" ", , , , " ", , , "" - -. , , . BPL IDE. , .

  • , , . , , IN CODE . .

  • , , MyCompRegs.pas, .

  • , , , . , RegisterComponent, .

  • .

: . , , Timetime , Delphi , , . Delphi ( ) - Delphi ( Delphi 2006, ), Delphi .

+3

Source: https://habr.com/ru/post/1757298/


All Articles