Erro ao focar em um controle ou janela

76 views
Skip to first unread message

valt...@valtecom.com.br

unread,
Nov 18, 2025, 6:40:04 AM (4 days ago) Nov 18
to Harbour Minigui
Good morning friends of the group,
I'm facing a strange problem in a system, in a product sales function. Sometimes an error occurs when the system tries to focus on a control, saying that the control doesn't exist or that the window isn't active, but it's the product sales window. It runs normally for hours and then, at a random moment, the error appears, but usually after a few hours of use.
One detail that I believe is worth mentioning is that the system in question has its executable on a PC that functions as a server and is accessed via a shortcut. I don't know if this is relevant, because in most of my systems I have an executable on each PC and only access the data on the server PC, and in those cases these random errors don't occur.
I will post the error log excerpt below; perhaps it will be more enlightening than what I described.

Thank you.

Valteçom
Uberaba MG Brazil.

Errorlog.htm returned
Date: 14/11/2025 Time: 16:31:57
Application: \\server\SISTEMAS\SGC_NOV\WSGCPDV.EXE
User: CAIXA1 / win10
Time from start: 0 days 0 hours 35 mins 23 secs
Error MGERROR/0 Window: janelabuscaprodutos is not active. Program terminated.

--------------------------------- Stack Trace ---------------------------------
Called from MSGMINIGUIERROR(0)
Called from _RELEASEWINDOW(0)
Called from DOMETHOD(0)
Called from WN_SELECIONAPRODUTOS(1403) in module: VENDAS.PRG

Jackson Santos

unread,
Nov 18, 2025, 6:54:54 AM (4 days ago) Nov 18
to valt...@valtecom.com.br, Harbour Minigui
Bom dia
Eu enfrento o mesmo problema, nunca consegui a solução, do nada dar um erro inexplicável.

--
Visit our website on https://www.hmgextended.com/ or https://www.hmgextended.org/
---
You received this message because you are subscribed to the Google Groups "Harbour Minigui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minigui-foru...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/minigui-forum/9e81da29-9c01-4309-a222-b53d6460e7d0n%40googlegroups.com.

Nelson Radford

unread,
Nov 18, 2025, 7:49:13 AM (4 days ago) Nov 18
to valt...@valtecom.com.br, Harbour Minigui
I have similar issues from time to time.

Thank you,
Nelson Radford

--

Ivanil Marcelino

unread,
Nov 18, 2025, 5:00:39 PM (3 days ago) Nov 18
to Harbour Minigui


Ola Valtecom;

Ha um tempo gravei o vídeo abaixo; "aparentemente" você esta com problema de pilha,..justificaria o porquê de ocorrer ocasionalmente..

Designer Minigui - Trabalhando com CHILD (Problemas com Pilhas)

--

José Quintas

unread,
Nov 19, 2025, 12:09:20 PM (3 days ago) Nov 19
to Harbour Minigui
A pilha não pode ser única.
Em multithread isso fica muito mais em evidência, porque cada thread precisa sua própria pilha.

stack can't be unique.
On multithread this becames more visible, because each thread needs it's own stack.

José M. C. Quintas
Reply all
Reply to author
Forward
0 new messages