I'm not an xHarbour user, so I can't help you with that.flavio.veloso wrote:Sr. Roberto Lopez.
Eu posso ter uma versão da HMG.4, sendo compilada como xharbour + Mingw:
Assim como:
Eu posso ter uma versão da HMG.3.0.36, sendo compilada como xharbour + Mingw:
Ou o projeto usa como padrão o harbour-project e nunca teremos uma versão usando o xharbour.org.
Caso eu possa criar as lib´s das HMG usando o xharbour poderia mim passar como fazer, tipo um make.bat para eu poder criar as lib´s mas usando o mingw + xharbour_1.2.1.
Atenciosamente,
Flávio Veloso.
HMG 3.0.36 (Test)
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0.36 (Test)
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0.36 (Test)
Ok.Ricci wrote:Roberto, in 3.0.36 are still a lot of memory leaks that causes too much GDI handles. I´m trying to find them.Roberto Lopez wrote: So, at the moment, I've patched my current 3.0.35 with the Grigory's path for multiselect grid and your .36 code for memory leaks.
Ricci
No problem.
We already have (for a new maintenance release) the Grigory fix for multiselect grid and my (pending) changes to IDE.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0.36 (Test)
Maybe that some of the Harbour internal changes (the same that affected multiselect grid) be affecting C level functions dedicated to release handles.Ricci wrote:I found it but that looks really bad: the fixes Grigory and me made in .35 are not working in .36 anymore.
Especially the IMAGELIST_DESTROY() in h_controlmisc.prg seems to have no effect at all.
Better going back to .35 ?
Please, take a look at that.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: HMG 3.0.36 (Test)
I found my old test program for one memory leak:
When clicking on the button "ButtonNew" the program does nothing more than changing the picture property of the button 2000 times.
With .35 you loose no GDI handle, with .36 you loose 8000. The same situation before fixing the leak in .35.
Code: Select all
#include "minigui.ch"
Function Main
DEFINE WINDOW Form_1 ;
AT 0,0 ;
WIDTH 200 HEIGHT 100 ;
MAIN
@ 10,20 TEXTBOX TextBoxName ;
VALUE "" ;
WIDTH 100 HEIGHT 20 ;
FONT "ARIAL" SIZE 09
@ 40,60 BUTTON ButtonNew ;
PICTURE "document-edit.bmp" ;
ACTION ButtonClick() ;
WIDTH 30 HEIGHT 30 FLAT
END WINDOW
ACTIVATE WINDOW Form_1
Return Nil
// -------------------------------------------------------------------------------------------------------------------------------
Function ButtonClick()
local xx
for xx := 1 to 1000
Form_1.ButtonNew.picture := "document-edit-gray.bmp"
Form_1.ButtonNew.picture := "document-edit.bmp"
next
Return Nil
With .35 you loose no GDI handle, with .36 you loose 8000. The same situation before fixing the leak in .35.
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0.36 (Test)
This appears to confirm my theory.Ricci wrote: When clicking on the button "ButtonNew" the program does nothing more than changing the picture property of the button 2000 times.
With .35 you loose no GDI handle, with .36 you loose 8000. The same situation before fixing the leak in .35.
Some change in Harbour has made that C some level functions in charge of release handles stop working...
Perhaps, Grigory has the right answer...
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: HMG 3.0.36 (Test)
Hola Roberto :
El IDE actualmente tiene tendencia a Incluir .FMG que no estan en el Proyecto pero si en la carpeta donde reside el mismo. [img]Vencimientos%20Form.jpg[/img]
otro caso que me suele suceder. en esa misma carpeta tengo otro proyecto, el mismo tiene errores de algun tipo. al intentar compilar el primer proyecto el mismo muestra el BUILD LOG en blanco al mirar dentro
de error.log o build.log me encuentro esto.
la aplicacion no se compila ya que HBMK2 procesa tambien cartera.hbc y cartera.hbp que tiene un error(en este caso una libreria que no se encuentra)
subo una imagen de los 2 examinadores de proyecto
El IDE actualmente tiene tendencia a Incluir .FMG que no estan en el Proyecto pero si en la carpeta donde reside el mismo. [img]Vencimientos%20Form.jpg[/img]
otro caso que me suele suceder. en esa misma carpeta tengo otro proyecto, el mismo tiene errores de algun tipo. al intentar compilar el primer proyecto el mismo muestra el BUILD LOG en blanco al mirar dentro
de error.log o build.log me encuentro esto.
Code: Select all
hbmk2: Processing configuration: C:\hmg.3.0.35\harbour\bin\hbmk.cfg
hbmk2: Processing: Cartera.hbc
hbmk2: Processing: VENCIMIENTOS.hbc
hbmk2: Linking... VENCIMIENTOS.exe
c:/hmg.3.0.35/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot find -lhbxml
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk\win\mingw\main.o .hbmk\win\mingw\_hbmkaut.o _temp.o -mwindows -Wl,--start-group -lhbxml -lhmg -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage -lhbpgsql -lpq -lhbtip -lhbct -lhbmisc -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 -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oVENCIMIENTOS.exe -LC:/hmg.3.0.35/harbour/lib -Lc:/hmg/lib -LC:/hmg.3.0.35//lib -LC:/Vencimientos/
subo una imagen de los 2 examinadores de proyecto
- Attachments
-
- Vencimientos Forms.jpg (18.68 KiB) Viewed 5579 times
-
- vencimientos.jpg (22.83 KiB) Viewed 5584 times
-
- Cartera.jpg (27.83 KiB) Viewed 5584 times
Last edited by danielmaximiliano on Thu Jun 16, 2011 8:04 pm, edited 2 times in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0.36 (Test)
Voy a modificar el IDE para que simplemente invoque 'buildapp.bat' usando como parámetros los archivos .hbp y hbc del proyecto.danielmaximiliano wrote:Hola Roberto :
El IDE actualmente tiene tendencia a Incluir .FMG que no estan en el Proyecto pero si en la
<...>
De ahora en adelante, todo será responsabilidad de hbmk2.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: HMG 3.0.36 (Test)
Gracias Roberto :
pruebo de manera separada algunos modulos del proyecto y despues incluirlos en el mismo
suele ser tedioso tener muchas carpetas para un mismo proyecto por esa razon.
pruebo de manera separada algunos modulos del proyecto y despues incluirlos en el mismo
suele ser tedioso tener muchas carpetas para un mismo proyecto por esa razon.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0.36 (Test)
Ok.rathinagiri wrote:That's great Roberto!Roberto Lopez wrote:Forget about it.rathinagiri wrote: <...>
But it has some specific problems. I will list them tomorrow.
I've decided to modify IDE to support the new simplified build batch file.
I'll send the required parameters to hbmk2 directly via the new batch.
<...>
I've modified IDE to make the following call:
<hmgpath>\buildapp.bat <project.hbp> <project.hbc>
That does not work.
Problem 1: IDE must create the hbmk.hbm
I've instructed IDE to do so.
Problem 2: .fmg files are not found in the current (project) folder.
I've solved modifiying buildapp.bat.
A parameter must be added to hbmk2: "-i."
That instruct hbmk2 to locate includes (fmg files) in the current (.) folder.
The problem 3 is a question (since I'm not sure about that).
hbmk.hbm points hbmk2 to pick the hmg.hbc file at hmg root.
What happens to <project.hbc> file in the project folder.
Does it be processed?
TIA.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- 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.36 (Test)
Hi Roberto,
Sorry to intrude.
Have you tried to use the modified build.bat?
Buildapp.bat is old one and the latest build.bat is working fine except the problems I have mentioned.
Sorry to intrude.
Have you tried to use the modified build.bat?
Buildapp.bat is old one and the latest build.bat is working fine except the problems I have mentioned.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.