Page 4 of 6

Re: HMG version installed

Posted: Thu Jan 22, 2015 7:03 pm
by Javier Tovar
Excelente aplicación Pablo César,

Una más! :)

HMG version installed

Posted: Thu Jan 22, 2015 7:06 pm
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

HMG version installed

Posted: Fri Jan 23, 2015 2:49 pm
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 5346 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

Re: HMG version installed

Posted: Fri Jan 23, 2015 3:07 pm
by bpd2000
Error

HMG version installed

Posted: Fri Jan 23, 2015 4:52 pm
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 5321 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

Re: HMG version installed

Posted: Sat Jan 24, 2015 4:56 am
by bpd2000
Thank you for correction

HMG version installed

Posted: Sat Jan 24, 2015 10:36 am
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

HMG version installed

Posted: Wed Nov 02, 2016 5:06 pm
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).

Re: HMG version installed

Posted: Wed Nov 02, 2016 5:29 pm
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

Re: HMG version installed

Posted: Wed Nov 02, 2016 6:10 pm
by quartz565
Thank you Pablo !