Page 1 of 1

New Report Advanced

Posted: Mon Jul 27, 2009 12:01 am
by jouhmg
English by Google
**************

Hi:

Joined a new application Advanced Report.

Compiler said to me:

"Undefined reference to HB_FUN_PDFINIT"
"Undefined reference to HB_FUN_PDFOPEN"
"Undefined reference to HB_FUN...
...
File (h_rptgen.c ):h_rptgen.c

Obviously I'm missing something
What is it? (PDF Functions)

TIA
jouhmg

Re: New Report Advanced

Posted: Mon Jul 27, 2009 4:22 am
by Rathinagiri
Which version of HMG are you using? Can you post the sample.prg?

Re: New Report Advanced

Posted: Mon Jul 27, 2009 1:34 pm
by jouhmg
English by Google
*************
Hi:

Using HMG 2.9.3

Examples of Advanced Report function well.

Now, when incorporated into an application I get the error as if the missing file h_rptgen.c

The test is:

#include "minigui.ch"
Procedure Report
Use Test
LOAD REPORT Test
EXECUTE REPORT Test PREVIEW SELECTPRINTER
Use
Return

Regards
jouhmg

Re: New Report Advanced

Posted: Mon Jul 27, 2009 2:02 pm
by sudip
Hello jouhmg,

I just tested Demo2.prg within C:\HMG\samples\REPORT.ADVANCED folder.

It runs Ok. :)

If possible, please rename your HMG folder to another folder (eg, HMG_Old) and Re install HMG. Then try to compile. :)

With best regards.

Sudip

Re: New Report Advanced

Posted: Mon Jul 27, 2009 2:59 pm
by jouhmg
English by Google
*************

Hello sudip:

I did as recommended but still the error.

It may be that the package of HMG h_rptgen.c file is missing?

In the folder C:\HMG\Source file is h_rptgen.prg but not the file h_rptgen.c
This is correct?

Regards
jouhmg

Re: New Report Advanced

Posted: Mon Jul 27, 2009 3:18 pm
by gfilatov
jouhmg wrote:English by Google
*************
Hi:

Using HMG 2.9.3

Examples of Advanced Report function well.

Now, when incorporated into an application I get the error as if the missing file h_rptgen.c

...
Hi,

Try to add the library hbvpdf to your link script by command:
-lhbvpdf

I hope that helps. :idea:

Re: New Report Advanced

Posted: Mon Jul 27, 2009 4:16 pm
by jouhmg
English by Google
*************
Hello Grigory:

That was the solution. :)

QAC use version 4.11.16 and possibly this is not contemplating
the introduction of this library, which made me understand a
little more how this tool.

I confirmed with the author of QAC if so.

Thank you very much.

Regards
jouhmg