Page 6 of 15

Re: HMG 3.4.0

Posted: Sun Feb 01, 2015 11:03 pm
by Levis
Your welcome :-) Yes, no <Not defined> message was there, no suggested editor URL was given. Thanks again and I go to my bed, cause here in PL is now a few minutes past midnight. Good night :-)

Re: HMG 3.4.0

Posted: Thu Feb 05, 2015 8:21 am
by Rathinagiri
mol wrote:I've revised code in c:\HMG\SOURCE\HMG_HPDF.PRG and I added line 258

Code: Select all

nyPos -= nFontSize
and now, baseline of printout in normal printing and pdf creating is the same.
Source code should be changed, I think.
But, we must remember to change code everywhere, when pdf creating was used.
Thank you Marek. Very useful.

Re: HMG 3.4.0

Posted: Thu Feb 05, 2015 12:50 pm
by esgici
Hi all

A friend asked me which version of MinGW included in HMG 3.4.0 and I couldn't answer :?

Any idea ?

Re: HMG 3.4.0

Posted: Thu Feb 05, 2015 1:58 pm
by bpd2000
esgici wrote:Hi all

A friend asked me which version of MinGW included in HMG 3.4.0 and I couldn't answer :?

Any idea ?
It may be "gcc version 4.9.2 (i686-posix-dwarf-rev1, Built by MinGW-W64 project)"
another command is
C:\hmg.3.4.0\MinGW\bin>gcc --version
C:\hmg.3.4.0\MinGW\bin>gcc --help

Re: HMG 3.4.0

Posted: Thu Feb 05, 2015 6:19 pm
by Javier Tovar
mol wrote:I've revised code in c:\HMG\SOURCE\HMG_HPDF.PRG and I added line 258

Code: Select all

nyPos -= nFontSize
and now, baseline of printout in normal printing and pdf creating is the same.
Source code should be changed, I think.
But, we must remember to change code everywhere, when pdf creating was used.
Tranks Marek!

Re: HMG 3.4.0

Posted: Thu Feb 05, 2015 11:03 pm
by esgici
bpd2000 wrote: It may be "gcc version 4.9.2 (i686-posix-dwarf-rev1, Built by MinGW-W64 project)"
another command is
C:\hmg.3.4.0\MinGW\bin>gcc --version
C:\hmg.3.4.0\MinGW\bin>gcc --help
Thanks Dave; gcc --version command answered the question 8-)

By the way, in addition to Version() and HMGVersion() functions we need a MinGW_Version() function;

or a parametric Version() function :?

Happy HMG'ing :D

HMG 3.4.0

Posted: Sat Feb 07, 2015 2:53 pm
by Pablo César
In MinGW forums only talks to get thru use the shell expr command.

One way is to defined where (path) gcc\bin is installed and a simple command:

gcc -dumpversion > vermingw.txt

And then can be read this text file into a variable.

I also guess something could it be extracted from macro at compilling... but this will need some C function to access it.
(may be Dr. Claudio could has any solution) :roll:

I said that, because in all exe files, this MinGW version info is had beed written... so some low level functions can be used for exe files be read and could it be a third solution (Is not a canonical way, but could it be done also that).

Re: HMG 3.4.0

Posted: Tue Feb 10, 2015 5:18 pm
by serge_girard
Hello there,


Recently I started with compiling in HMG340 and when there is a compile error IDE gets hung-up and has to be killed.
Error.txt is filled with the error.

Is this something I can resolve somehow or do I miss something?

Regards, Serge

Re: HMG 3.4.0

Posted: Tue Feb 10, 2015 5:38 pm
by mol
Hi Serge!
You will find solution published by Cesar in this post.

HMG 3.4.0

Posted: Tue Feb 10, 2015 6:10 pm
by Pablo César
serge_girard wrote:Recently I started with compiling in HMG340 and when there is a compile error IDE gets hung-up and has to be killed.
Error.txt is filled with the error.

Is this something I can resolve somehow or do I miss something?
Hi Serge, as Marek already said, for the properly working, you can download this Build.bat and be replaced to the existing at the HMG root folder. Because it was released with a bug. :oops:

This Build.bat is working with and without ViewError app. It was tested and working fine.

Sorry for the inconvenience.