I'm programing in Lazaurs (dephi),
Look libharu-2.1.0/if/delphi/README.delphi ,,
/////////////////////////////
README.delphi //////////////////////////////////////////////////////
To use this interface, built Haru as a shared-library (DLL) or use
binary
package for win32(libharu_x_x_x_dll_win32.zip).
There are some example programs in this directory. The steps to run
the
demonstration programs is as follows.
1. Build libharu as a shared library and copy libhpdf.dll to "if
\delphi"
directory. (Or expand binary package for win32
(libharu_x_x_x_dll_win32.zip)
and copy libhpdf.dll to "if\delphi" directory.)
2. Compile and run demo programs.
a)Delphi
Open XXXX.dpr and run it.
b)Free Pascal
Compile demo programs using '-Mdelphi' option as follows.
fpc -Mdelphi LineDemo.dpr
LineDemo.exe
NOTE:
libhpdf.dll is required to run the program which uses delphi/fpc
interface for
libharu.
/////////////////////////////////////////////////////////////////////////// /////////////////////////////
******************************************
look libharu-2.1.0/if/delphi/hpdf.pas
unit hpdf;
interface
uses
SysUtils, hpdf_types;
const
LIBHPDF_DLL = 'libhpdf.so';
{*
NOTE:
if you want to use Haru with Kylix/FreePascal on Linux,
change "libhpdf.dll" to "libhpdf.so" and change "cdecl" to "cdecl"
(This file and hpdf_types.pas)I'm programing in Lazaurs (dephi),
Look libharu-2.1.0/if/delphi/README.delphi
********************************************************************************************
====================================================
NOTE:
libhpdf.dll is required to run
the program which uses delphi/fpc interface for libharu.
====================================================
When I compilinig my program in lazarus is all OK.
But when I run my program then reports mistake.
libhpdf.dll was not found;
How make this libhpdf.dll???