HMG 3.4.0

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
User avatar
Levis
Posts: 3
Joined: Tue Jul 30, 2013 12:04 pm
Location: Poland

Re: HMG 3.4.0

Post 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 :-)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.4.0

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.4.0

Post 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 ?
Viva INTERNATIONAL HMG :D
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.4.0

Post 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
Attachments
test.rar
(715 Bytes) Downloaded 229 times
BPD
Convert Dream into Reality through HMG
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: HMG 3.4.0

Post 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!
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.4.0

Post 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
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.4.0

Post 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).
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
serge_girard
Posts: 3166
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG 3.4.0

Post 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
There's nothing you can do that can't be done...
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.0

Post by mol »

Hi Serge!
You will find solution published by Cesar in this post.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.4.0

Post 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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply