HARU PDF

Post Reply
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

HARU PDF

Post by byron.hopp »

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
User avatar
cnavarro
Posts: 6558
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: HARU PDF

Post by cnavarro »

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
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: HARU PDF

Post by byron.hopp »

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
User avatar
Enrico Maria Giordano
Posts: 8767
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: HARU PDF

Post by Enrico Maria Giordano »

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

EMG
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: HARU PDF

Post by nageswaragunupudi »

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: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: HARU PDF

Post by nageswaragunupudi »

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
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: HARU PDF

Post by byron.hopp »

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: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: HARU PDF

Post by byron.hopp »

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: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: HARU PDF

Post by byron.hopp »

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
Post Reply