HMG version installed

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: HMG version installed

Post by Javier Tovar »

Excelente aplicación Pablo César,

Una más! :)
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG version installed

Post by Pablo César »

Gracias, Javier !

Pero ahora la tengo que alterar... (pero lo hago con toda buena voluntad) por el cambio que fué hecho con HMGVersion() que seguro que está más simples y efectivo. (está facil ahora)   :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG version installed

Post by Pablo César »

Now with the new HMG_GetCompileVersionRaw function, it's have been more easy.

There is a litle bug when is running at HMG 3.2 version. Because in this HMG version has _HMG_VERSION_STABLE_ and not exis_HMG_VERSION_WIN32_STABLE_ or _HMG_VERSION_WIN64_STABLE_ because 64 bits versions was started from later versions.
Screen1.png
Screen1.png (178.59 KiB) Viewed 5257 times
Here in attached files with enhanced code and updated:

<Source codes and executable files were removed because there is a updated version ahead of this topic>

I hope you enjoy it ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG version installed

Post by bpd2000 »

Error
Attachments
err.png
err.png (34.6 KiB) Viewed 5250 times
BPD
Convert Dream into Reality through HMG
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG version installed

Post by Pablo César »

Thank you Dave for your error report. :)

But in your installation should be at least one file (hmg.ini) for the path for IDE proposes. :?
(Please check the picture below from my HMG4 installation)

In HMG4 there are no files indicating version as is doing in HMG3 except at C:\hmg.4\ide\hmg.ini file containing path for IDE use the current compiler.
Screen1.png
Screen1.png (116.15 KiB) Viewed 5232 times
HMGVersion() in HMG4 retrieves CONSTANTs defined from C:\hmg.4\svn\source\misc.prg file, so there is no Version.txt, no ch files keeping this information, only in misc.prg. So, there is nothing to edit when we find wrong or no updated version to be corrected.

But when HMG is installed by installer program (be registered), independently being HMG4 or HMG3, you will obtain the right version in GRID as been displayed.

For whom wish to make HMG4 installer program download, you access at: http://sourceforge.net/projects/hmg/files/

Anyway, I corrected this app's bug when no version files have been not found, not calling InputWindow() and displaying a message to user.

<Source codes and executable files were removed because there is a updated version ahead of this topic>


B.Rgds
Last edited by Pablo César on Wed Nov 02, 2016 5:08 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG version installed

Post by bpd2000 »

Thank you for correction
BPD
Convert Dream into Reality through HMG
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG version installed

Post by Pablo César »

It's my pleasure to attend you Dave ! :D

You write very few in your posts, but always you make great contributions whether by testing, analysing, indicating, commenting all about. These are very good thing, because we can improve only by this way: testing and communicating and I very much appreciated that !

Thank you, Dave ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG version installed

Post by Pablo César »

I found some bugs with actual enviroment of HMG version and also dificulties to find right HMG installations especially when it is done only copy of HMG and is not installed in a conventional manner (registered by the Windows).
Attachments
InstalledAt_Exe.rar
Executable file
(1.25 MiB) Downloaded 290 times
InstalledAt.rar
Source Files
(5.03 KiB) Downloaded 271 times
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 version installed

Post by serge_girard »

Pablo,

Thx for this tool!

I run my HMG on my P: drive (so I can run it from every attached PC) and I make backups to some other drives.
Your tool gives up 6 versions and totally I have 18 versions...

Serge
There's nothing you can do that can't be done...
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: HMG version installed

Post by quartz565 »

Thank you Pablo !
Best Regards,
Nikos.

os: Windows Server 2019 - 64
Post Reply