Page 3 of 4
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 4:36 pm
by Roberto Lopez
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!!!
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 4:50 pm
by Ricci
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.
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 5:21 pm
by Roberto Lopez
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!
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 7:01 pm
by Roberto Lopez
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.
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 7:13 pm
by Roberto Lopez
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.
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 9:27 pm
by Rathinagiri
Ok Roberto. I will do all of them and upload again.
Re: HMG 3.0.37
Posted: Tue Jun 21, 2011 1:00 am
by Roberto Lopez
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.
Re: HMG 3.0.37
Posted: Tue Jun 21, 2011 5:22 am
by mol
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
Re: HMG 3.0.37
Posted: Tue Jun 21, 2011 5:29 am
by mol
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...
Re: HMG 3.0.37
Posted: Tue Jun 21, 2011 6:16 am
by Rathinagiri
Yes!!!
I too have noted and wondered about the co-incidence!