Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How are Delphi libraries typically installed?

I come from a UNIX/autoconf/C/C++ background where the typical install process for a new library looks something like:

$ ./configure
$ make
$ make install

I'm trying to install the Delphi Web Script library from: https://code.google.com/p/dwscript/ however, I cannot find installation instructions. The FirstSteps wiki page starts with:

"If DelphiWebScript is installed correctly, a new tab "dws" appears in your Delphi component palette."

like image 410
spierepf Avatar asked Apr 26 '26 03:04

spierepf


1 Answers

If there's a project-group file for your Delphi version, open that in the IDE. If there is no project group, but there's more than one project, consider creating a group. If there's only one project file, then just open it by itself.

Choose the "build all" menu option. For each design-time package, invoke the "install" command on it.

If there is no project file, then consider creating one for the source files you have. Otherwise, put them in with the rest of your main project's files. (My rule is that every source file is a member of one and only one project.)

Most source files that don't come with a project are for components, so the type of project you'd create for them would be a package. Source files meant to be used as DLLs generally come with a library-project file.

like image 169
Rob Kennedy Avatar answered Apr 29 '26 06:04

Rob Kennedy