HMG 3.0.37 (Old)

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 3982
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Re: HMG 3.0.37

Post by Roberto Lopez » Mon Jun 20, 2011 4:36 pm

rathinagiri wrote:Hi,

I enclose herewith Harbour.xml for Notepad++ syntax highlighting.

1. Unzip this file anywhere
2. Click 'View' -> 'User-Defined Dialogs'
3. Click 'Import'
4 Select the 'Harbour.xml'

That's enough. This is rough and hasty preparation. Please somebody fine tune.
Thanks!!!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Post by Ricci » Mon Jun 20, 2011 4:50 pm

Roberto Lopez wrote:
Ricci wrote:Only for information: the memory leaks problem with the GDI handles is still active in .37.
Please... tell us how can it be tested.

TIA.
Ok, compile and run this small program.

If you have the MS Process Explorer, you can see how the GDI handles grow, if you press the button once. One click uses 8000 GDI handles. If you press the button the second time, the program reaches the limit of 10.000and depending of your Windows version, different things can happen.
In Win7 the button picture will disappear. In WinXP the controls can disappear or things on the desktop can be changed.
Attachments
test.zip
(1.44 KiB) Downloaded 158 times

User avatar
Roberto Lopez
HMG Founder
Posts: 3982
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Mon Jun 20, 2011 5:21 pm

Ricci wrote:
Roberto Lopez wrote:
Ricci wrote:Only for information: the memory leaks problem with the GDI handles is still active in .37.
Please... tell us how can it be tested.

TIA.
Ok, compile and run this small program.

If you have the MS Process Explorer, you can see how the GDI handles grow, if you press the button once. One click uses 8000 GDI handles. If you press the button the second time, the program reaches the limit of 10.000and depending of your Windows version, different things can happen.
In Win7 the button picture will disappear. In WinXP the controls can disappear or things on the desktop can be changed.
Thanks!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3982
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Mon Jun 20, 2011 7:01 pm

Some little things...(Continued)

Rathi,

10. Please, update build.bat and hmg.hbc with the ones attached to this message. They add debugging capabilities via the /debug parameter (it must be used as the first one).

TIA.
Attachments
build.zip
(1.82 KiB) Downloaded 170 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3982
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Mon Jun 20, 2011 7:13 pm

Some little things...(Continued)

Rathi,

11. Please, add the following text in the help in a HIGHLY VISIBLE place:
When upgrading HMG, please, clean previous build data from your projects using incremental building.

From command line, you must add the -clean parameter.

From IDE, use the 'Reset project incremental data' option from the project menu.
Thanks.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Rathinagiri
Posts: 5268
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 171 times
Been thanked: 175 times
Contact:

Post by Rathinagiri » Mon Jun 20, 2011 9:27 pm

Ok Roberto. I will do all of them and upload again.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3982
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Jun 21, 2011 1:00 am

rathinagiri wrote:Ok Roberto. I will do all of them and upload again.
Please, don't use my last version of build.bat/hmg.hbc with debug support, since I've found some problems.

Use the previous version.

Sorry for the inconveniences...

TIA.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
mol
Posts: 3261
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 238 times
Been thanked: 137 times
Contact:

Post by mol » Tue Jun 21, 2011 5:22 am

for information only for all, who use serial communication:
In previous Harbour used in HMG 3.0.35
\hmg\harbour\include\hbwin.ch had following definitions:

Code: Select all


/* The following are from winbase.h */

#define CBR_110                110
#define CBR_300                300
#define CBR_600                600
#define CBR_1200               1200
#define CBR_2400               2400
#define CBR_4800               4800
#define CBR_9600               9600
#define CBR_14400              14400
#define CBR_19200              19200
#define CBR_38400              38400
#define CBR_56000              56000
#define CBR_57600              57600
#define CBR_115200             115200
#define CBR_128000             128000
#define CBR_256000             256000
In the newest version, it changed to:

Code: Select all

/* WIN_PORT() related values */

/* WIN_COMOPEN() bit rates */
#define WIN_CBR_110                 110
#define WIN_CBR_300                 300
#define WIN_CBR_600                 600
#define WIN_CBR_1200                1200
#define WIN_CBR_2400                2400
#define WIN_CBR_4800                4800
#define WIN_CBR_9600                9600
#define WIN_CBR_14400               14400
#define WIN_CBR_19200               19200
#define WIN_CBR_38400               38400
#define WIN_CBR_56000               56000
#define WIN_CBR_57600               57600
#define WIN_CBR_115200              115200
#define WIN_CBR_128000              128000
#define WIN_CBR_256000              256000
This also applies to other constants used within Win_Port(), Win_ComOpen()
and causes crash because of undefined variable e.g. CBR_9600

User avatar
mol
Posts: 3261
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 238 times
Been thanked: 137 times
Contact:

Post by mol » Tue Jun 21, 2011 5:29 am

Did you see, HMG 3.0.35 IDE is dated 2010.06.20 and HMG 3.0.37 IDE is 2011.06.20???

It's all year...

User avatar
Rathinagiri
Posts: 5268
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 171 times
Been thanked: 175 times
Contact:

Post by Rathinagiri » Tue Jun 21, 2011 6:16 am

Yes!!! :)

I too have noted and wondered about the co-incidence!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply