RAD Studio (Common)
ContentsIndex
PreviousUpNext
Building Packages

You can create packages in RAD Studio and include them in your projects.

To create a new package

  1. FileNewOther to display the New Items object gallery.
  2. Depending on your type of project, select either the Delphi Projects node or the C++Builder Projects node.
  3. Double-click the Package icon. This creates a new empty package and makes an entry for it in the Project Manager, along with two folders: one marked Contains and one marked Requires.
    Note: If you want to add required files to the package, you must add compiled packages (dcpil, .dll) to the Required
    folder. Add uncompiled code files (.pas, .cpp, .h) to the Contains folder.
  4. Select the package name in the Project Manager.
  5. Right-click to display the drop-down context menu and choose Add to display the Add dialog box.
  6. Browse to locate the file or files you want to add.
  7. Select one or more files, and click Open.
  8. Click OK. This adds the selected files to the package.
  9. Choose ProjectBuild <Package Name> to build the package.

To add a package to a project

  1. Choose FileNewOtherVCL Forms Application.
  2. Select the project name in the Project Manager.
  3. Right-click to display the drop-down context menu.
  4. Choose Add.
  5. Browse to locate a package file.
  6. Select the file and click Open.
  7. Click OK. This adds the package to the project.
  8. Choose ProjectBuild <Project Name> to build the project.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!