Before you can export a library project, you need to create a procedure library containing all procedures that will be required in your application. Alternatively, create a HDevelop program containing the required functionality in local procedures. In the latter case, the main procedure will not be exported.
The declaration of public and private procedures defines the interface for your application. Public procedures can be called from your application. Private procedures can only be called from procedures within the library or HDevelop program.