HMG 3.0.37 (Old)

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

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.37

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.37

Post 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:

Code: Select all

HB_GT_WIN_DEFAULT
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.37

Post by Rathinagiri »

Thanks a lot Roberto for your detailed listing. :)

I will correct one by one
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: HMG 3.0.37

Post by Ricci »

Only for information: the memory leaks problem with the GDI handles is still active in .37.
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.37

Post by Rathinagiri »

Notepad++ is cool. But does that have syntax highlighting for harbour/clipper?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.37

Post by Roberto Lopez »

rathinagiri wrote:Notepad++ is cool. But does that have syntax highlighting for harbour/clipper?
mmm... I've not checked that...
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.37

Post 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!!!! :)
Attachments
ide.zip
(796.34 KiB) Downloaded 363 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.37

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
mol
Posts: 3805
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.37

Post by mol »

Roberto Lopez wrote: PS: MOL will be happy now!!!! :)
THX!
I'm one of happiest people in the world now! :lol:

PS. I'm resetting incremental data from clipper linker time, especially before building distribution version...
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.37

Post 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.
Attachments
Harbour.zip
(3.23 KiB) Downloaded 610 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply