HMG 3.4.0
Moderator: Rathinagiri
Re: HMG 3.4.0
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
- 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
Thank you Marek. Very useful.mol wrote:I've revised code in c:\HMG\SOURCE\HMG_HPDF.PRG and I added line 258
and now, baseline of printout in normal printing and pdf creating is the same.Code: Select all
nyPos -= nFontSize
Source code should be changed, I think.
But, we must remember to change code everywhere, when pdf creating was used.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 3.4.0
Hi all
A friend asked me which version of MinGW included in HMG 3.4.0 and I couldn't answer
Any idea ?
A friend asked me which version of MinGW included in HMG 3.4.0 and I couldn't answer
Any idea ?
Viva INTERNATIONAL HMG
Re: HMG 3.4.0
It may be "gcc version 4.9.2 (i686-posix-dwarf-rev1, Built by MinGW-W64 project)"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 ?
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
Convert Dream into Reality through HMG
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: HMG 3.4.0
Tranks Marek!mol wrote:I've revised code in c:\HMG\SOURCE\HMG_HPDF.PRG and I added line 258
and now, baseline of printout in normal printing and pdf creating is the same.Code: Select all
nyPos -= nFontSize
Source code should be changed, I think.
But, we must remember to change code everywhere, when pdf creating was used.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 3.4.0
Thanks Dave; gcc --version command answered the questionbpd2000 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
By the way, in addition to Version() and HMGVersion() functions we need a MinGW_Version() function;
or a parametric Version() function
Happy HMG'ing
Viva INTERNATIONAL HMG
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.4.0
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)
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).
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)
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- 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
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
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...
Re: HMG 3.4.0
Hi Serge!
You will find solution published by Cesar in this post.
You will find solution published by Cesar in this post.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.4.0
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.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?
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein