Page 1 of 13

HMG 3.0.36 (Test)

Posted: Sat Mar 19, 2011 5:06 pm
by Rathinagiri
You can download the 3.0.36 (Test) bundle from the following link.

hmg.3.0.36.test.zip (70 MB)

Code: Select all

- HMG 3.0.36 (Test) 2011/03/19 Changelog:
   - Built using latest Harbour Nightly Build (2011/03/16)
   - Following Modifications done on official HMG 3.0.35
     * Edit in \hmg\source\c_media.c - Replace line no. 144 with the following:
     //    hwnd=MCIWndCreate((HWND) hb_parnl(1),NULL,Style,hb_parc(2));
     * Edit in \hmg\source\h_init.prg - Replace line no. 628 with the following:
         _HMG_SYSDATA [ 306 ] := ( EMPTY( CreateMutex( , .T., strtran(GetProgramFileName(),'\','_') ) ) .OR. (HMGGetLastError() > 0) )
     * Edit in \hmg\source\c_winapimisc.c - Replace line no. 416 to 419 with the following:
      HB_FUNC ( HMGGETLASTERROR )
      {
        hb_retnl( (LONG) GetLastError() ) ;
      }
     * Edit in \hmg\source\h_windows.prg. Replace line no 5588 with the following:
            uResult := CallDll32 ( "IsAppThemed" , "UXTHEME.DLL"  ) 
   - Changed HMG Build system to hbmk2 by adapting HMG 4 and latest Harbour method.
   - Changed HMG Build Application System by adapting HMG 4. Please make use of newbuild.bat in samples folder or buildapp.bat in hmg main folder.   
Please note that, it is a Zipped folder of hmg. Just download and extract in the root directory of any drive and you can test.

The file size is 70 MB since I have included all the libraries and dll files distributed by harbour nightly build. We have to strip out the libraries that we don't require.

Enjoy and give your comments please.

Long live HMG. :)

Re: HMG 3.0.36 (Test)

Posted: Sat Mar 19, 2011 6:00 pm
by esgici
rathinagiri wrote:You can download the 3.0.36 (Test) bundle from the following link
Long live HMG
Thanks a lot Rathi :D

Yes, Viva HMG :!:

Best regards

--

Esgici

Re: HMG 3.0.36 (Test)

Posted: Sun Mar 20, 2011 5:37 am
by dhaine_adp
Hi Rathi,

Thanks for this test build.

Regards,

Danny

Re: HMG 3.0.36 (Test)

Posted: Sun Mar 20, 2011 3:19 pm
by CCH4CLIPPER
Hi Rathi
rathinagiri wrote:You can download the 3.0.36 (Test) bundle from the following link.
Please note that, it is a Zipped folder of hmg. Just download and extract in the root directory of any drive and you can test.

The file size is 70 MB since I have included all the libraries and dll files distributed by harbour nightly build. We have to strip out the libraries that we don't require.

Enjoy and give your comments please.

Long live HMG. :)
I am pleased to report that I have successfully recompiled a HMG Extended app with HMG.3.0.36 using

hbmk2 myproject.hbk -comp=mingw as follows :-

C:\HMG3.0.36\Projects\frs4hrhmg>hbmk2 frs4hmg.hbp -comp=mingw
Harbour 2.1.0rc2 (Rev. 16348)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'frs4hris.prg'...
Lines 20751, Functions/Procedures 26
Generating C source output to 'C:\Users\CCH\AppData\Local\Temp\hbmk_a5kuf4.dir\f
rs4hris.c'... Done.
Compiling 'locks.prg'...
Lines 157, Functions/Procedures 4
Generating C source output to 'C:\Users\CCH\AppData\Local\Temp\hbmk_a5kuf4.dir\l
ocks.c'... Done.
Compiling 'RDDSYS.PRG'...
Lines 59, Functions/Procedures 1
Generating C source output to 'C:\Users\CCH\AppData\Local\Temp\hbmk_a5kuf4.dir\R
DDSYS.c'... Done.

Viva la HMG3 !

CCH
http://cch4clipper.blogspot.com

Re: HMG 3.0.36 (Test)

Posted: Mon Mar 21, 2011 12:43 am
by danielmaximiliano
rathinagiri wrote:You can download the 3.0.36 (Test) bundle from the following link.
........
Enjoy and give your comments please.

Long live HMG. :)
Muchas Gracias por tu esfuerzo Rathi y de todos los que cada dia hacen crecer HMG
Saludos
DaNiElMaXiMiLiAnO

Translate Google
Thank you very much for your effort Rathi and all that every day they grow HMG
Greetings
DaNiElMaXiMiLiAnO

Re: HMG 3.0.36 (Test)

Posted: Mon Mar 21, 2011 4:29 am
by tave2009
Hola Rathi:
I tried to create an EXE in the \ hmg \ samples \ report.advanced.x \ :mrgreen:
and I received the following error:

hbmk2: Processing local make script: hbmk.hbm
Harbour 2.1.0rc2 (Rev. 16478)
Copyright (c) 1999-2011, http://harbour-project.org/
Cannot open hbvpdf.prg, assumed external
Cannot open hbvpsup.prg, assumed external
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFINIT'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1c8): undefined reference to `HB_FUN_PDFOPEN'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2f8): undefined reference to `HB_FUN_PDFNEWPAGE'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x3a8): undefined reference to `HB_FUN_PDFCLOSE'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFSETFONT'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x488): undefined reference to `HB_FUN_PDFATSAY'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x498): undefined reference to `HB_FUN_PDFTEXTWIDTH'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFIMAGE'
../../lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4e8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1

What library is :?: missing?
Will it be corrected in the next version? :D
Thanks. Greetings. Walter
Gracias. Saludos. Walter

Re: HMG 3.0.36 (Test)

Posted: Mon Mar 21, 2011 4:36 am
by Rathinagiri
Thanks for reporting. I will look into this.

I think these libraries are not distributed by nightly build.

Re: HMG 3.0.36 (Test)

Posted: Mon Mar 21, 2011 4:53 am
by Rathinagiri
Hi,

Please extract the following files in the report.advanced.x folder(s) and check again.
REPORT.ADVANCED.1.zip
(33.44 KiB) Downloaded 657 times

Re: HMG 3.0.36 (Test)

Posted: Mon Mar 21, 2011 5:09 am
by tave2009
Hi Rathi,
Now YES! :lol:
Thanks.
Walter

Re: HMG 3.0.36 (Test)

Posted: Mon Mar 21, 2011 10:33 pm
by Ricci
Unusable for me, because the memory leaks in h_windows.prg, c_image.c and h_controlmisc.prg still are not removed.
I reported them and the fixes 7 month ago.