Delphi: Using the components in a Delphi package

It is possible to create a Delphi package that uses the IPWorks Components. To do so, you will need to make sure of two things.

First, the requires clause of the package source should NOT contain a reference to IPWorks If your requires clause has a line 'ipworks8', you should remove it to look like:

requires
  rtl,
  vcl;

Second, you will need to remove the IPWorks Package from the Delphi IDE (temporarily). From the Component -> Install Packages menu in Delphi, de-select the IPWorks Toolkit you are using in your package. If you do not do this, when compiling, Delphi will notice a conflict and ask you to reference 'ipworks8'.

After this is done, the compiler will implicitly import the .pas files for the components you are using and use the to compile your package.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.