HMG 3.0.41

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

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.41

Post by Rathinagiri »

I am testing with the latest Harbour build. I will come out ASAP.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.41

Post by esgici »

rathinagiri wrote:I am testing with the latest Harbour build. I will come out ASAP.
Good news, thanks :)

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
IMATECH
Posts: 188
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Re: HMG 3.0.41

Post by IMATECH »

Hello Rathi...


One more adjust needed on file: \HMG_ver_x\Include\i_controlmisc.ch

Include this source FROM line: 48

Code: Select all


MEMVAR _HMG_lMultiple
MEMVAR _ShowContextMenus


Before adjust: i_controlmisc.ch

Code: Select all


#define IDC_ARROW	32512
#define IDC_IBEAM	32513
#define IDC_WAIT	32514
#define IDC_CROSS	32515
#define IDC_UPARROW	32516
#define IDC_SIZENWSE	32642
#define IDC_SIZENESW	32643
#define IDC_SIZEWE	32644
#define IDC_SIZENS	32645
#define IDC_SIZEALL	32646
#define IDC_NO	32648
#define IDC_APPSTARTING	32650
#define IDC_HELP	32651


Result After adjust: i_controlmisc.ch

Code: Select all


MEMVAR _HMG_lMultiple
MEMVAR _ShowContextMenus

#define IDC_ARROW	32512
#define IDC_IBEAM	32513
#define IDC_WAIT	32514
#define IDC_CROSS	32515
#define IDC_UPARROW	32516
#define IDC_SIZENWSE	32642
#define IDC_SIZENESW	32643
#define IDC_SIZEWE	32644
#define IDC_SIZENS	32645
#define IDC_SIZEALL	32646
#define IDC_NO	32648
#define IDC_APPSTARTING	32650
#define IDC_HELP	32651



...

Code: Select all


IMHO, source optimization helps a lot but modifying an existing project by the users will be cumbersome. I think while compiling our projects we can change the warning level appropriately. Right?

IMHO 2: Yes: Users who want to use warnings to optimize code just need to set this when desired ...





Best Regards...
M., Ronaldo

By: IMATECH

Imation Tecnologia
hkrasser
Posts: 16
Joined: Fri Jul 10, 2009 12:08 pm
Location: Austria

Re: HMG 3.0.41 Problems with linker

Post by hkrasser »

Hello!
Thank you very much for your hard work!

In HMG 3.0.41 I have a problem with linking ( the same as in HMG 3.0.40).
Although I dont use any of these functions, there are always undefined references:
--------------------------------------------------------
Harbour 3.1.0dev (Rev. 17406)
Copyright (c) 1999-2012, http://harbour-project.org/
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x188): undefined reference to `HB_FUN_PDFINIT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2d8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x388): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x458): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x468): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4a8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hermes.o C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hbmk_ccyvm1.o D:/H_Work/Hermes/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oHermes.exe -LC:/hmg.3.0.41/harbour/lib/win/mingw -LC:/hmg.3.0.41/harbour/bin -LC:/hmg.3.0.41/lib
Harbour 3.1.0dev (Rev. 17406)
Copyright (c) 1999-2012, http://harbour-project.org/
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x188): undefined reference to `HB_FUN_PDFINIT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2d8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x388): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x458): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x468): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4a8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hermes.o C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hbmk_ccyvm1.o D:/H_Work/Hermes/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oHermes.exe -LC:/hmg.3.0.41/harbour/lib/win/mingw -LC:/hmg.3.0.41/harbour/bin -LC:/hmg.3.0.41/lib
-----------------------------------------------------------------------------------------------------
hkrasser
Posts: 16
Joined: Fri Jul 10, 2009 12:08 pm
Location: Austria

Re: HMG 3.0.41

Post by hkrasser »

The same Project works fine in HMG 3.0.34 without any undefined references!!
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG 3.0.41

Post by danielmaximiliano »

Hi
a question, i_rptgen.ch included in the project or within their Main.prg??? 44

but mount a small example that uses the functions.


Post data : creates a new post about the problems that occur on your installation hmg.3.0.41
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
hkrasser
Posts: 16
Joined: Fri Jul 10, 2009 12:08 pm
Location: Austria

Re: HMG 3.0.41

Post by hkrasser »

Dear danielmaximiliano!

Thank You for interesting.
I did NOT include i_rptgen.ch. But even after including there are the same undefined references.

I am using reports ( see Posting.zip - unfortunately the errors do not appear in little samples like C:\hmg.3.0.41\SAMPLES\REPORT.BASIC.1)
Attachments
Posting.zip
(90.54 KiB) Downloaded 363 times
User avatar
marco_malac
Posts: 11
Joined: Mon Dec 08, 2008 12:54 pm
Location: Brazil , São Paulo-SP

Re: HMG 3.0.41

Post by marco_malac »

Hello Dear All,
I'm having exactly the same experience that our friend krasser.

Marco Malac
========================================================
"Better than to know about the information is to know what to do with the information that you have."
Marco Antonio ( marco_malac )
Car Tuning / Bikes and adventure around the earth.
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG 3.0.41 Problems with linker

Post by danielmaximiliano »

hkrasser wrote:Hello!
Thank you very much for your hard work!

In HMG 3.0.41 I have a problem with linking ( the same as in HMG 3.0.40).
Although I dont use any of these functions, there are always undefined references:
--------------------------------------------------------
Harbour 3.1.0dev (Rev. 17406)
Copyright (c) 1999-2012, http://harbour-project.org/
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x188): undefined reference to `HB_FUN_PDFINIT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2d8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x388): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x458): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x468): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4a8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFBOX'
Hi all:
the error is generated because the library needed HBVPDF found in the installation of 3.2 Nightly Harbour, already compiled library copy that found in the zip file to the folder
C:\hmg.3.0.41\MINGW\lib
and "hbvpdf.ch" their respective folders
C:\hmg.3.0.41\INCLUDE

the library is in its installation Harbour
hbvpdf.rar
Library HBVPDF
(240.06 KiB) Downloaded 428 times
c:\hb32\examples\hbvpdf

sorry for not responding faster, only have to resolve errors in typography / fonts Textbox controls

Hola a todos:
el error que se genera porque falta la libreria HBVPDF que se encuentra en la instalacion de Harbour 3.2 Nightly, copiar dicha libreria ya compilada que se encuentra en el archivo rar
C:\hmg.3.0.41\MINGW\lib
y "hbvpdf.ch" a su respectiva carpeta
C:\hmg.3.0.41\INCLUDE
perdón por no responder mas rapido
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply