Page 6 of 16
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 4:31 am
by IMATECH
Hi Claudio
Thanks for your efforts on HMG sources
To fix browse compatibility I recomend to start upgrading Compiler Warning Level at minimum of W1 ( At least for core lib - not for user's projects )
Then you will be able to adjust some warnings and some broken code ( if exists ! )
viewtopic.php?f=6&t=2359
My 2cents attached ( at prg level )
Regards
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 2:50 pm
by srvet_claudio
Ronaldo thank you very much, you saved me a great work.
I have long come dodging W1, and I have long come fleeing of W2.
I deleted the .hbc extension of files of these library because it gives me error, the compiler can not find these files .hbc
libs=hbct.hbc
libs=hbwin.hbc
libs=hbmemio.hbc
libs=hbmisc.hbc
libs=hbfimage.hbc
libs=xhb.hbc
Which informs the warning -kmo?
Best regards,
Claudio.
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 4:23 pm
by IMATECH
Hi Claudio
.hbc
Works fine on my hb projects !
.hbc files is the recomended way to use contrib libs ( started about 3~6 months ago: will find revision and inform here more detais )
hbmk2 -kmo
enable compiler optimizations
hbmk2 -jobs=4
enable compiler mt usage ( recommended value := cpu core x 2 )
Regards
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 6:17 pm
by srvet_claudio
IMATECH wrote:Hi Claudio
.hbc
Works fine on my hb projects !
.hbc files is the recomended way to use contrib libs ( started about 3~6 months ago: will find revision and inform here more detais )
hbmk2 -kmo
enable compiler optimizations
hbmk2 -jobs=4
enable compiler mt usage ( recommended value := cpu core x 2 )
Regards
Thanks Ronaldo for the information.
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 6:34 pm
by srvet_claudio
IMATECH wrote:
Quote:
.hbc
Works fine on my hb projects !
.hbc files is the recomended way to use contrib libs ( started about 3~6 months ago: will find revision and inform here more detais )
Hi Ronaldo.
The problem appears when I compile an application, not appears when I build the library.
Best regards,
Claudio.
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 10:47 pm
by srvet_claudio
srvet_claudio wrote:mol wrote:BROWSE is not working in this hmg version.
It displays empty table always.
Hi Rathi.
The problem is in making library and not in the source code of HMG-UNICODE.3.1.1
I copied all the source code of HMG.3.1.1 in the folder SOURCE of HMG.3.1.0 and I rebuild the library whit HMG.3.1.0 and work fine.
On the other hand I copied the files hmg.hbp and hmg.hbc of HMG.3.1.0 in the folder of HMG.3.1.1 and rebuilt the library with HMG.3.1.1 but did not work.
In conclusion, I think the problem is in the Harbour compiler or MinGW compiler of the HMG.3.1.1
Best regards,
Claudio.
Hi Rathi
srvet_claudio wrote:
In conclusion, I think the problem is in the Harbour compiler or MinGW compiler of the HMG.3.1.1
This phrase is not an error, this is a horror.
The problem is not the Harbour compiler, the problem is me.
I forgot to include:
#include "SETCompileBrowse.ch"
at the start of the source files h_windows.PRG and h_controlmisc.PRG
The BROWSE worked well with HMG.3.1.0 because COMPILEBROWSE is defined in minigui.CH.
Best regards,
Claudio.
Re: HMG 3.1.1
Posted: Sat Dec 08, 2012 11:53 pm
by Pablo César
srvet_claudio wrote:to include:
#include "SETCompileBrowse.ch"
at the start of the source files h_windows.PRG and h_controlmisc.PRG
So, good new at all ! And then Browse it will work... good news !!!!
Very good Mr. Claudio. I sorry, I did not found it the missing. It's is also our fault, do not worry.
I regretted not having compared the sources of both version. But...
Now we should be happy !!!
Re: HMG 3.1.1
Posted: Sun Dec 09, 2012 12:39 am
by esgici
Thanks you very much Dr.
Added :
to the start of the source files
h_windows.PRG and
h_controlmisc.PRG
and run
buildlib.bat.
BROWSEs work perfect now
Viva HMG, viva Dr. Soto

Re: HMG 3.1.1
Posted: Sun Dec 09, 2012 2:52 am
by Rathinagiri
So cool!
Bravo Claudio.

Re: HMG 3.1.1
Posted: Sun Dec 09, 2012 9:00 am
by mol
Super news!