Code: Select all
* link with \fwh\lib\hbhpdf.lib, libhpdf.lib
Code: Select all
* link with \fwh\lib\hbhpdf.lib, libhpdf.lib
I found the files inside the xHarbour\lib - directorybut the \fwh\lib\hbhpdf.lib are not present!
Code: Select all
echo %hdirl%\hbhpdf.lib + >> b32.bc
echo %hdirl%\libhpdf.lib + >> b32.bc
We are able to link the programs without any unresolved externals.byte-one wrote:Uwe,
it seems, that the C-function HPDF_Page_TextRect() are missing in the lib from (x)harbour. (or in source fwpdf.prg!?)
why do you compile fwpdf.prg? That is already a part of the library.After compiling fwpdf.prg:
Code: Select all
#pragma BEGINDUMP
#include <hbapi.h>
HB_LONG
HPDF_Page_TextRect ( void * page,
float left,
float top,
float right,
float bottom,
const char *text,
HB_UINT align,
HB_UINT *len);
HB_FUNC_STATIC( HPDF_PAGE_TEXTRECT )
{
HB_UINT len;
hb_retnl( ( long ) HPDF_Page_TextRect( hb_parptr( 1 ), hb_parnd( 2 ),
hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parc( 6 ),
hb_parni( 7 ), &len ) );
hb_storni( len, 8 );
}
#pragma ENDDUMP
Called from: => __ERRRT_SBASE( 0 )
Called from: ../../../tobject.prg => FWPDF:ERROR( 0 )
Called from: ../../../tobject.prg => (b)HBOBJECT( 0 )
Called from: ../../../tobject.prg => FWPDF:MSGNOTFOUND( 0 )
Called from: ../../../tobject.prg => FWPDF:CFILE( 0 )
Called from: .\source\classes\REPORT.PRG => TREPORT:ACTIVATE( 914 )
Called from: pdfharu2.prg => SHOWWONDERS( 115 )
Called from: pdfharu2.prg => MAIN( 28 )