If anyone has created C++
Builder packages for Png Delphi and wants to share them, please
send me and I will include in the next versions. |
The component also can be installed on Borland C++ Builder. To do so,
follow these steps:
- First of all, copy
(unzip) all the files to any directory. The obj sub-directory is
necessary to install the component.
- Run a Borland C++ Builder
instance
- Select the menu
File and then the item New.
- Item the new
dialog, choose the Package item (as shown bellow) and press the OK
button.
- In the
new package item, press the Add button on the Toolbar
- Now press the
Browse button located in the first tab, Add Unit. As shown bellow:
- You
will choose now the files to add the package. To do so:
- Choose the
filter Pascal Unit (*.pas)
- Browse for the
folder where the Png Delphi files are located
- Select the
files PngImage.Pas, PngLang.Pas, PngZlib.Pas, PngExtra.Pas ()
(multiple select by clicking using the CTRL key pressed)
- Press open
- Press Ok to
close the Add window
- Back to C++
Builder window, choose the File menu, and the item Save As...
Save the file using any name (ex: pngbuilder.dpk), a good idea is to
save in the
same folder as Png Delphi files.
- Press the
install button on the Package window to install the component as
shown
bellow
Also, adding the
unit to the search path is a good idea
- This time, go to the "Tools" menu and select
the item "Enviroment Options".
- Click on the "Library" page.
- On the field "Library path" add a ";"
followed by the unit directory. For instance ";c:\png".
- Click on the ok button.
|