Home > Enterprise >  When to choose which type of Delphi unit?
When to choose which type of Delphi unit?

Time:09-17

This may be a simple, stupid question, but I am trying to create a unit that will be a .dcu compiled unit for use with other units. Do I choose to create a program, unit or library?

There will be no graphics, just commands and functions.

Which do I choose? A program, unit or library?

Thank you.

CodePudding user response:

If you just need a unit, then create a unit.

If you need a DLL/BPL, then create a library/package.

If you need an EXE, create a program.

  • Related