HARU PDF

HARU PDF

Postby byron.hopp » Thu Mar 24, 2022 10:54 pm

I played around with Mod_Harbour a few months ago and was able to write several reports with what I believe was Haru PDF. Can I use Haru PDF in a normal Harbour/Fivewin winforms application? Thank you,
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: HARU PDF

Postby cnavarro » Fri Mar 25, 2022 12:27 am

Yes
viewtopic.php?f=16&t=37882
and search in this topic for HARUPDF
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: HARU PDF

Postby byron.hopp » Fri Mar 25, 2022 1:55 am

Thanks for the quick response. I have browsed through the posts and I need this to work with the xHb compilier (xHarbour Builder). I use it in Mod_Harbour is it built into it?

xHarbour Compiler build 0.99.61 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/

Syntax: xhb <file[s][.prg]> [options]

Is there a version of HaruPdf that works with this version. The program I am attempting to modify is compiled in this version. I am not sure if the customer will want to have it upgraded to Bcc7 version. I've seen mention of it but don't know where to find the harupdf.lib. It is not in my xHb directory.

Thanks,
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: HARU PDF

Postby Enrico Maria Giordano » Fri Mar 25, 2022 9:35 am

I don't know about your older xHarbour build but in the latest one we have libharu.lib.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: HARU PDF

Postby nageswaragunupudi » Sat Mar 26, 2022 2:25 am

byron.hopp wrote:I played around with Mod_Harbour a few months ago and was able to write several reports with what I believe was Haru PDF. Can I use Haru PDF in a normal Harbour/Fivewin winforms application? Thank you,

What is your FWH version?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: HARU PDF

Postby nageswaragunupudi » Sat Mar 26, 2022 2:25 am

byron.hopp wrote:I played around with Mod_Harbour a few months ago and was able to write several reports with what I believe was Haru PDF. Can I use Haru PDF in a normal Harbour/Fivewin winforms application? Thank you,

What is your FWH version?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: HARU PDF

Postby byron.hopp » Mon Mar 28, 2022 7:40 pm

In response to what version FWH, below is from the FiveWin.ch:
#define FWCOPYRIGHT "(c) FiveTech Software, 1993-2015"

#ifdef __HARBOUR__
#ifdef __XHARBOUR__
#ifndef __64__
#define FWVERSION "FWHX 15.10"
#define FWDESCRIPTION "FiveWin for xHarbour"
#else
#define FWVERSION "FWHX64 15.10"
#define FWDESCRIPTION "FiveWin for xHarbour 64"
#endif
#else
#ifndef __64__
#define FWVERSION "FWH 15.10"
#define FWDESCRIPTION "FiveWin for Harbour"
#else
#define FWVERSION "FWH64 15.10"
#define FWDESCRIPTION "FiveWin for Harbour 64"
#endif
#endif
#xtranslate SetCursor( => WSetCursor( // to avoid conflicts with Harbour functions
#xtranslate __Keyboard( => ___Keyboard( // to avoid conflicts with Harbour functions
#xtranslate LastKey( => _LastKey( // to avoid conflicts with Harbour functions
#endif
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: HARU PDF

Postby byron.hopp » Tue Mar 29, 2022 10:59 pm

OK, I have converted my old xHB compiled program to a Borland c++ compiled program.
I find these two libs that I think are related to Haru Pdf:
hbhpdf-bcc.lib
hbhpdf.lib

The program compiles and links but does not display, the main window does not draw on the screen.
Is there something else that needs to be done to make this happen. I haven't even tried to run my PDF code for a report.

Thanks,
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: HARU PDF

Postby byron.hopp » Wed Mar 30, 2022 7:41 pm

I am using the Borland BCC compiler and place the two following lib files in my mak file:
hbhpdf-bcc.lib
hbhpdf.lib

After I add these to my make file all of the unresolved externals go away but the app does not launch. Nothing shows on the screen, and upon launching it does not appear in the Task Manager windows as well. Many people have mentioned LibHaru.lib but I cannot find that lib in my FWH, xHb, Bcc, Harbour folders. Where can I get a copy of this lib. Is it available in the new version of FiveWin? And if I upgrade to a new version of FiveWin do I need to change my Bcc Borland compilier?

Thanks,
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 43 guests