HMG 3.1.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
User avatar
IMATECH
Posts: 188
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Re: HMG 3.1.1

Post by IMATECH »

Hi Claudio :D



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
Attachments
HMG_311_w1.zip
Pacified some warnings at prg level
(211.48 KiB) Downloaded 557 times
M., Ronaldo

By: IMATECH

Imation Tecnologia
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post by srvet_claudio »

Ronaldo thank you very much, you saved me a great work. :D

I have long come dodging W1, and I have long come fleeing of W2. :lol:

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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
IMATECH
Posts: 188
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Re: HMG 3.1.1

Post by IMATECH »

Hi Claudio :D


.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
M., Ronaldo

By: IMATECH

Imation Tecnologia
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post by srvet_claudio »

IMATECH wrote:Hi Claudio :D


.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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post 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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.1

Post 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. :oops:
The problem is not the Harbour compiler, the problem is me. :cry:

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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.1.1

Post 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 !!!
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.1.1

Post by esgici »

Thanks you very much Dr. :)

Added :

Code: Select all

#include "SETCompileBrowse.ch"
to the start of the source files h_windows.PRG and h_controlmisc.PRG

and run buildlib.bat.

BROWSEs work perfect now :D

Viva HMG, viva Dr. Soto :D
Viva INTERNATIONAL HMG :D
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.1.1

Post by Rathinagiri »

So cool!

Bravo Claudio. :geek:
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply