Page 2 of 4
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 1:10 pm
by Roberto Lopez
Roberto Lopez wrote:
Some little things...
1. 'hmgver.dat' files are not longer used. Please delete.
2. Please, add the mixed mode sample I've posted to samples. It will address the issue 'how to create a mixed/console app with the new build?'.
3. The file hmgc.hbc is no longer needed. You can delete it.
4. Correct hmgversion() function to indicate the true version.
5. I've dropped PSPAD. I've changed to Notepad++. It is fully free and freely redistributable. It is (IMHO) superior to PSPAD and its style is more 'inline' with IDE style. Please, test it. If you agree with my opinion, please, change PSPAD for Notepad++.
6. Buildlib.bat point to \hmg, so it will not work with default install location. Please, use the same technique as in build.bat.
That's all!
7. In netio samples, you must add the following to the .prg's:
REQUEST HB_GT_WIN_DEFAULT
and the readme1st.txt must be changed to:
Command line build:
build.bat <projectname.hbp> <projectname.hbc>
Ide build:
ide.bat <projectname.hbp>
If not, it will be not work from command line.
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 1:31 pm
by Roberto Lopez
Some little things...(continued...)
8. In al console samples (AFAIK console, netio.01 and netio.02) the line gt=gtwin in .hbc files must be removed since it has no effect because gtwin is always linked now. And for console sample (as in the previous tip) you must add the following: REQUEST HB_GT_WIN_DEFAULT.
9. Please add this in a highly visible place in documentation:
In IDE, all build customizations must be handled by the user from 'Configuration' (project browser) tab. It is direct edit of the project .hbc file. Look at hbmk2 help for details.
By default two gt drivers are ALWAYS linked: GTGUI (as default) and GTWIN (Windows console).
To create console/mixed mode apps. you only must add this line to your main .prg:
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 1:52 pm
by Rathinagiri
Thanks a lot Roberto for your detailed listing.
I will correct one by one
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 2:17 pm
by Ricci
Only for information: the memory leaks problem with the GDI handles is still active in .37.
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 2:30 pm
by Rathinagiri
Notepad++ is cool. But does that have syntax highlighting for harbour/clipper?
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 2:47 pm
by Roberto Lopez
rathinagiri wrote:Notepad++ is cool. But does that have syntax highlighting for harbour/clipper?
mmm... I've not checked that...
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 2:49 pm
by Roberto Lopez
rathinagiri wrote:Thanks a lot Roberto for your detailed listing.
I will correct one by one
Ok, one just more...
A new IDE with 'reset project incremental data' back is attached to this message. Please, replace current IDE with this.
PS: MOL will be happy now!!!!

Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 2:50 pm
by Roberto Lopez
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.
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 3:03 pm
by mol
Roberto Lopez wrote:
PS: MOL will be happy now!!!!

THX!
I'm one of happiest people in the world now!
PS. I'm resetting incremental data from clipper linker time, especially before building distribution version...
Re: HMG 3.0.37
Posted: Mon Jun 20, 2011 4:24 pm
by Rathinagiri
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.