Page 25 of 30

Re: HMG 3.4.3

Posted: Thu Mar 23, 2017 1:20 am
by srvet_claudio
serge_girard wrote: Wed Mar 22, 2017 4:43 pm IDE crashes also when a compilation error occurs and F5 is accidentally pressed (again)

Serge
Thanks

Re: HMG 3.4.3

Posted: Thu Mar 23, 2017 1:29 am
by srvet_claudio
Pablo César wrote: Thu Mar 23, 2017 1:16 am Hi Claudio,

This is the captured screen when the new IDE crashed.

It was minimized and when I tried to return came likes (no buttons and no title in main window of IDE).
 
Screen145.png
 
As you can see, I am using not themed Windows and there was two different projects open.

If I click at "x" button I can not close IDE. Ide is not responding at all. Only i f I close thru the TaskBar:
Screen146.png
Sorry but I do not understand very well, the IDE crashed ( closes ) or has repainting problem?

HMG 3.4.3

Posted: Thu Mar 23, 2017 1:38 am
by Pablo César
Es como si no tuviera ningun botón, mismo que tente pasar el pontero del mouse, los botones no existen. A veces el title me retorna cuando hago foco, pero no es siempre.
El F5 funciona. Es decir puedo seguir compilando.
Yo hice priebas como Serge de apretar el F5 pero solo me dá error cuando cliclo muchas veces. Es decir eso no seria mi problema.
Creo que basicamente está cuando minimizo la IDe. Eso porque tengo 2 instancias abiertas con la IDE (2 proyectos). Lo estraño es que el botón x no hace nada, no cierra el IDE. Pero si busco cerrarlo por el TaskBar aí si me viene la pregunta: si estoy seguiro de encerrar...

Cuando el title desaparece, todos los titles desaparen (del main, ProjectBrowser y del Object Inspector) pero tengo que hace foco clicando en cada una de las 3 ventanas. El TAB, funciona y los forms puedo abrirlo.

Re: HMG 3.4.3

Posted: Thu Mar 23, 2017 2:29 am
by srvet_claudio
Pablo César wrote: Thu Mar 23, 2017 1:38 am Es como si no tuviera ningun botón, mismo que tente pasar el pontero del mouse, los botones no existen. A veces el title me retorna cuando hago foco, pero no es siempre.
El F5 funciona. Es decir puedo seguir compilando.
Yo hice priebas como Serge de apretar el F5 pero solo me dá error cuando cliclo muchas veces. Es decir eso no seria mi problema.
Creo que basicamente está cuando minimizo la IDe. Eso porque tengo 2 instancias abiertas con la IDE (2 proyectos). Lo estraño es que el botón x no hace nada, no cierra el IDE. Pero si busco cerrarlo por el TaskBar aí si me viene la pregunta: si estoy seguiro de encerrar...

Cuando el title desaparece, todos los titles desaparen (del main, ProjectBrowser y del Object Inspector) pero tengo que hace foco clicando en cada una de las 3 ventanas. El TAB, funciona y los forms puedo abrirlo.
Gracias por la info, entonces es un problema​ de repintado (actualización ) de la ventana y no un crash de la app.
Cuando desaparezca los controles intenta minimizar nuevamente y luego maximizar a ver si se repintan los controles.
El problema aparece solo cuando tenés más de una instancia abierta del IDE?

HMG 3.4.3

Posted: Thu Mar 23, 2017 11:03 am
by Pablo César
Gracias por la info, entonces es un problema​ de repintado (actualización ) de la ventana y no un crash de la app.
Si creo que el mayor problema seria repintar, pero no lo hace y desabilita el botón [x] de salida en la ventana principal. Es decir es algo más que falta de repinte, estimo.
Cuando desaparezca los controles intenta minimizar nuevamente y luego maximizar a ver si se repintan los controles.
Si, eso ya lo hice varias veces y no responde al repinte de forma alguna. Lo mostré en la video que te envié por email.
El problema aparece solo cuando tenés más de una instancia abierta del IDE?
Voy a trabajar hoy con uno solo y fijarme. Es que es normal para mi trabajar con várias instancias.
Creo que me serviria trabajar con 2 monitores para facilitarme, pero lo veo un lujo eso.

Otra cosa que observé después que se produjo esta falla en la IDE, es que si yo hacia foco clicando en el editor Notepad++ por ejemplo, la IDE se minimizaba. El comportamiento no seria eso lo normal. Y cada vez que se minimizaba perdia los títulos de las 3 ventanas.

HMG 3.4.3

Posted: Thu Mar 23, 2017 1:42 pm
by Pablo César
My recognition and testimony as a user and viewer  
I would like to clarify a little about the feasibility of using THREADs in HMG. And I hope to pass to you the profile on the subject and Claudio please correct me if I am wrong.

I think always is good to heard and follow the advices of our leader and creator of HMG.
Roberto here makes mention of HMG and Multi-Threading and the need to use in the IDE: viewtopic.php?p=45719#p45719 (great idea).

In another forum (exactly here: http://www.pctoledo.com.br/forum/viewto ... 20#p113920), to Dr. Claudio was tirelessly asked why at HMG the Threads did not work as Harbour as it should. Several situations and impossibilities have been shown as well and that in other tools this does not lead any difficulties... :?

Consequently Claudio studied deeply and saw that our limitation was something much more complex than it seemed. But since he has great knowledge in C and know a lot about the Windows operating system, it has made it possible to use Threads in HMG.

Before this last patch (#2), I had found many difficulties controlling these calls that by the HMG functionality and prevented Harbour threads from overrunning.

We have taken another important step in HMG.

I thank to Roberto, Claudio and José Quintas and others who helped to clarify this matter around.

I am sure that every of us will recognize and the the importance in your due time...

To myself, it is time to thank now. For more one of this: thank you very much !

Image

Re: HMG 3.4.3

Posted: Thu Mar 23, 2017 6:26 pm
by serge_girard
IDE sometimes doesn't react when clicking on 'Open Project' ?

Serge

Re: HMG 3.4.3

Posted: Sat Mar 25, 2017 11:43 am
by nobi
need to know how to include libraries

Re: HMG 3.4.3

Posted: Sat Mar 25, 2017 1:34 pm
by serge_girard
Claudio,

IDE is doing very strange after 20-30 compilations..!
Can't open project and close box is empty. IDE title is gone away.. See attachment,

Serge

HMG 3.4.3

Posted: Sat Mar 25, 2017 2:54 pm
by Pablo César
nobi wrote: Sat Mar 25, 2017 11:43 am need to know how to include libraries
Hi nobi,

Have you welcome to our community.

HMG use MiniGW compiler which uses .a files as library.
If you have partice with hourbour you would include in .hbc file as well.

If you are practice in IDE you can follows as exemple this: viewtopic.php?p=49152#p49152